C# Class Examples.ControlClientReceivingMessages.MessageHandlerDefault

Inheritance: TopicTreeHandlerDefault, IMessageHandler
Show file Open project: pushtechnology/diffusion-examples

Public Methods

Method Description
OnMessage ( SessionId sessionId, string topicPath, IContent content, IReceiveContext context ) : void

Receives content sent from a session via a topic.

Method Details

OnMessage() public method

Receives content sent from a session via a topic.
public OnMessage ( SessionId sessionId, string topicPath, IContent content, IReceiveContext context ) : void
sessionId SessionId Identifies the client session that sent the content.
topicPath string The path of the topic that the content was sent on.
content IContent The content sent by the client.
context IReceiveContext The context associated with the content.
return void