C# Class ppatierno.AzureSBLite.Messaging.Amqp.AmqpMessageReceiver

Message receiver for AMQP protocol
Inheritance: MessageReceiver
ファイルを表示 Open project: ppatierno/azuresblite Class Usage Examples

Public Methods

Method Description
Abandon ( System.Guid lockToken ) : void
Close ( ) : void
Complete ( System.Guid lockToken ) : void
OnMessage ( OnMessageAction callback, OnMessageOptions options ) : void
Receive ( ) : BrokeredMessage

Private Methods

Method Description
AmqpMessageReceiver ( AmqpMessagingFactory factory, string entity ) : System

Construcotr

AmqpMessageReceiver ( AmqpMessagingFactory factory, string entity, ReceiveMode receiveMode ) : System

Construcotr

Outcome ( System.Guid lockToken, bool accept ) : void
ReceiveEventData ( ) : EventData

Method Details

Abandon() public method

public Abandon ( System.Guid lockToken ) : void
lockToken System.Guid
return void

Close() public method

public Close ( ) : void
return void

Complete() public method

public Complete ( System.Guid lockToken ) : void
lockToken System.Guid
return void

OnMessage() public method

public OnMessage ( OnMessageAction callback, OnMessageOptions options ) : void
callback OnMessageAction
options OnMessageOptions
return void

Receive() public method

public Receive ( ) : BrokeredMessage
return BrokeredMessage