Diffusion .NET Client Library
6.1.5
|
Handler interface for receiving messages from remote sources, with associated context and session information. More...
Public Member Functions | |
void | OnMessage (ISessionId sessionId, string topicPath, IContent content, IReceiveContext context) |
Receives content sent from a session via a topic. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.ITopicTreeHandler | |
void | OnActive (string topicPath, IRegisteredHandler registeredHandler) |
Called when the handler has been registered at the server and is now active. More... | |
void | OnClose (string topicPath) |
Called if the handler is closed. More... | |
Handler interface for receiving messages from remote sources, with associated context and session information.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.IMessageHandler.OnMessage | ( | ISessionId | sessionId, |
string | topicPath, | ||
IContent | content, | ||
IReceiveContext | context | ||
) |
Receives content sent from a session via a topic.
sessionId | Identifies the client session that sent the content. |
topicPath | The path of the topic that the content was sent on. |
content | The content sent by the client. |
context | The context associated with the content. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.MessageReceiverDefault.