Diffusion .NET API
5.9.24
|
Handler interface for receiving messages from remote sources, with associated context and session information. More...
Public Member Functions | |
void | OnMessage (SessionId 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 successfully registered with the server. More... | |
void | OnClose (string topicPath) |
Called if the handler is closed. This happens if the call to register the handler fails, or the handler is unregistered. More... | |
Handler interface for receiving messages from remote sources, with associated context and session information.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.IMessageHandler.OnMessage | ( | SessionId | 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.