C# Class Microsoft.Azure.Amqp.DuplexAmqpLink

Inheritance: AmqpObject
Show file Open project: Azure/azure-amqp Class Usage Examples

Private Properties

Property Type Description
OnLinkClosed void
OnOperationComplete void
OnReceiverClose void
OnReceiverOpen void
OnSenderClose void
OnSenderOpen void
SendProperties void

Public Methods

Method Description
DisposeMessage ( AmqpMessage message, DeliveryState deliveryState, bool settled, bool batchable ) : void
DuplexAmqpLink ( AmqpSession session, AmqpLinkSettings settings ) : System
DuplexAmqpLink ( SendingAmqpLink sender, ReceivingAmqpLink receiver ) : System
RegisterMessageListener ( Action messageListener ) : void
SendMessageAsync ( AmqpMessage message, ArraySegment deliveryTag, ArraySegment txnId, System.TimeSpan timeout ) : Task

Protected Methods

Method Description
AbortInternal ( ) : void
CloseInternal ( ) : bool
OpenInternal ( ) : bool

Private Methods

Method Description
OnLinkClosed ( object closedObject, EventArgs e ) : void
OnOperationComplete ( AmqpObject link, IAsyncResult result, bool isOpen ) : void
OnReceiverClose ( IAsyncResult result ) : void
OnReceiverOpen ( IAsyncResult result ) : void
OnSenderClose ( IAsyncResult result ) : void
OnSenderOpen ( IAsyncResult result ) : void
SendProperties ( Fields fields ) : void

Method Details

AbortInternal() protected method

protected AbortInternal ( ) : void
return void

CloseInternal() protected method

protected CloseInternal ( ) : bool
return bool

DisposeMessage() public method

public DisposeMessage ( AmqpMessage message, DeliveryState deliveryState, bool settled, bool batchable ) : void
message AmqpMessage
deliveryState Microsoft.Azure.Amqp.Framing.DeliveryState
settled bool
batchable bool
return void

DuplexAmqpLink() public method

public DuplexAmqpLink ( AmqpSession session, AmqpLinkSettings settings ) : System
session AmqpSession
settings AmqpLinkSettings
return System

DuplexAmqpLink() public method

public DuplexAmqpLink ( SendingAmqpLink sender, ReceivingAmqpLink receiver ) : System
sender SendingAmqpLink
receiver ReceivingAmqpLink
return System

OpenInternal() protected method

protected OpenInternal ( ) : bool
return bool

RegisterMessageListener() public method

public RegisterMessageListener ( Action messageListener ) : void
messageListener Action
return void

SendMessageAsync() public method

public SendMessageAsync ( AmqpMessage message, ArraySegment deliveryTag, ArraySegment txnId, System.TimeSpan timeout ) : Task
message AmqpMessage
deliveryTag ArraySegment
txnId ArraySegment
timeout System.TimeSpan
return Task