C# Class Org.Apache.Qpid.Messaging.SessionReceiver.CallbackServer

server is the class that users instantiate to connect a SessionReceiver callback to the stream of received messages received on a Session.
Show file Open project: cajus/qpid-cpp-debian Class Usage Examples

Public Methods

Method Description
CallbackServer ( Session session, ISessionReceiver callback ) : System

Constructor for the server.

Close ( ) : void

Function to stop the server.

Method Details

CallbackServer() public method

Constructor for the server.
public CallbackServer ( Session session, ISessionReceiver callback ) : System
session Session The Session whose messages are collected.
callback ISessionReceiver The user function call with each message.
return System

Close() public method

Function to stop the server.
public Close ( ) : void
return void