Diffusion .NET Client Library
6.1.5
|
Represents the default IMessageStream implementation. More...
Public Member Functions | |
virtual void | OnMessageReceived (string topicPath, IContent content, IReceiveContext context) |
Called if a message has been received for a specific path. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultStream | |
virtual void | OnClose () |
Notification that a stream context was closed normally. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback | |
virtual void | OnError (ErrorReason errorReason) |
Notification of a contextual error related to this callback. More... | |
Represents the default IMessageStream implementation.
This simply logs OnMessageReceived calls at 'debug' level which may be useful for debugging purposes. This method should be overridden to provide processing of inbound messages.
|
virtual |
Called if a message has been received for a specific path.
How this originates and what the content contains is dependent on the sender of the message.
topicPath | The path to which the message was sent |
content | The message content. If the content is known to be of a certain IDataType then IDataType.ReadValue(IBytes) may be used to convert it. |
context | The receive context. |
Implements PushTechnology.ClientInterface.Client.Features.IMessageStream.