Interface IMessageHandler
Handler interface for receiving messages from remote sources, with associated context and session information.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface IMessageHandler : ITopicTreeHandler
Remarks
Deprecated: This is only used within one-way messaging, which is deprecated from this release. This interface will be removed in a future release.
Methods
OnMessage(ISessionId, String, IContent, IReceiveContext)
Receives content sent from a session through a topic.
Declaration
void OnMessage(ISessionId sessionId, string topicPath, IContent content, IReceiveContext context)
Parameters
Type | Name | Description |
---|---|---|
ISessionId | sessionId | Identifies the client session that sent the content. |
String | topicPath | The path of the topic that the content was sent on. |
IContent | content | The content sent by the client. |
IReceiveContext | context | The context associated with the content. |