C# Class Org.Apache.Qpid.Messaging.Examples.ReceiverProcess

A model class to demonstrate how a user may use the Qpid Messaging interface to receive Session messages using a callback.
Inheritance: ISessionReceiver
Afficher le fichier Open project: cajus/qpid-cpp-debian Class Usage Examples

Méthodes publiques

Méthode Description
SessionReceiver ( Receiver receiver, Message message ) : void

SessionReceiver implements the ISessionReceiver interface. It is the callback function that receives all messages for a Session. It may be called any time server is running. It is always called on server's private thread.

TestProgram ( string args ) : int

A function to illustrate how to open a Session callback and receive messages.

Private Methods

Méthode Description
usage ( string url, string addr, int nSec ) : void

Usage

Method Details

SessionReceiver() public méthode

SessionReceiver implements the ISessionReceiver interface. It is the callback function that receives all messages for a Session. It may be called any time server is running. It is always called on server's private thread.
public SessionReceiver ( Receiver receiver, Message message ) : void
receiver Receiver The Receiver associated with the message.
message Message The Message
Résultat void

TestProgram() public méthode

A function to illustrate how to open a Session callback and receive messages.
public TestProgram ( string args ) : int
args string Main program arguments
Résultat int