Handler interface for receiving messages from remote sources, with associated context and session information.
public interface IMessageHandler : ITopicTreeHandler
Deprecated: This is only used within one-way messaging, which is deprecated from this release. This interface will be removed in a future release.
OnMessage(ISessionId, String, IContent, IReceiveContext)
Receives content sent from a session through a topic.
void OnMessage(ISessionId sessionId, string topicPath, IContent content, IReceiveContext context)
Identifies the client session that sent the content.
The path of the topic that the content was sent on.
The content sent by the client.
The context associated with the content.