Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.IMessageHandler Interface Reference

Handler interface for receiving messages from remote sources, with associated context and session information. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.IMessageHandler:
PushTechnology.ClientInterface.Client.Features.ITopicTreeHandler PushTechnology.ClientInterface.Client.Features.Control.Topics.MessageReceiverDefault

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...
 

Detailed Description

Handler interface for receiving messages from remote sources, with associated context and session information.

Member Function Documentation

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.

Parameters
sessionIdIdentifies the client session that sent the content.
topicPathThe path of the topic that the content was sent on.
contentThe content sent by the client.
contextThe context associated with the content.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.MessageReceiverDefault.


The documentation for this interface was generated from the following file: