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.
Afficher le fichier Open project: cajus/qpid-cpp-debian Class Usage Examples

Méthodes publiques

Méthode Description
CallbackServer ( Session session, ISessionReceiver callback ) : System

Constructor for the server.

Close ( ) : void

Function to stop the server.

Method Details

CallbackServer() public méthode

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.
Résultat System

Close() public méthode

Function to stop the server.
public Close ( ) : void
Résultat void