C# 클래스 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.
상속: ISessionReceiver
파일 보기 프로젝트 열기: cajus/qpid-cpp-debian 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
usage ( string url, string addr, int nSec ) : void

Usage

메소드 상세

SessionReceiver() 공개 메소드

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
리턴 void

TestProgram() 공개 메소드

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