C# Класс Examples.ControlClientReceivingMessages.EchoHandler

Наследование: MessageHandlerDefault
Показать файл Открыть проект

Открытые методы

Метод Описание
EchoHandler ( IMessagingControl messagingControl, ISendCallback sendCallback ) : System.Linq
OnMessage ( SessionId sessionId, string topicPath, IContent content, IReceiveContext context ) : void

Receives content sent from a session via a topic.

Описание методов

EchoHandler() публичный Метод

public EchoHandler ( IMessagingControl messagingControl, ISendCallback sendCallback ) : System.Linq
messagingControl IMessagingControl
sendCallback ISendCallback
Результат System.Linq

OnMessage() публичный Метод

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.
Результат void