C# Class Examples.ControlClientReceivingMessages

This is an example of a control client using the IMessagingControl feature to receive messages from clients and also send messages to clients. It is a trivial example that simply responds to all messages on a particular branch of the topic tree by echoing them back to the client exactly as they are, complete with headers.
Mostra file Open project: pushtechnology/diffusion-examples

Public Methods

Method Description
Close ( ) : void

Close the session.

ControlClientReceivingMessages ( ISendCallback callback ) : System.Linq

Constructor.

Method Details

Close() public method

Close the session.
public Close ( ) : void
return void

ControlClientReceivingMessages() public method

Constructor.
public ControlClientReceivingMessages ( ISendCallback callback ) : System.Linq
callback ISendCallback The callback to receive the result of message sending.
return System.Linq