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
Datei anzeigen Open project: cajus/qpid-cpp-debian Class Usage Examples

Public Methods

Method 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

Method Description
usage ( string url, string addr, int nSec ) : void

Usage

Method Details

SessionReceiver() public method

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
return void

TestProgram() public method

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