C# Class Amqp.Link

The Link class represents an AMQP link.
Inheritance: Amqp.AmqpObject
Show file Open project: xamarin/mini-hacks Class Usage Examples

Private Properties

Property Type Description
Abort void
OnAttach void
OnDeliveryStateChanged void
OnDetach bool
OnFlow void
OnTransfer void
SendAttach void
SendDetach void
SendFlow void
ThrowIfDetaching void

Protected Methods

Method Description
Link ( Session session, string name, OnAttached onAttached ) : System

Initializes the link.

OnAbort ( Error error ) : void

Aborts the link.

OnClose ( Error error ) : bool

Closes the link.

Private Methods

Method Description
Abort ( Error error ) : void
OnAttach ( uint remoteHandle, Amqp.Framing.Attach attach ) : void
OnDeliveryStateChanged ( Amqp.Delivery delivery ) : void
OnDetach ( Amqp.Framing.Detach detach ) : bool
OnFlow ( Amqp.Framing.Flow flow ) : void
OnTransfer ( Amqp.Delivery delivery, Amqp.Framing.Transfer transfer, ByteBuffer buffer ) : void
SendAttach ( bool role, uint initialDeliveryCount, Amqp.Framing.Attach attach ) : void
SendDetach ( Error error ) : void
SendFlow ( uint deliveryCount, uint credit, bool drain ) : void
ThrowIfDetaching ( string operation ) : void

Method Details

Link() protected method

Initializes the link.
protected Link ( Session session, string name, OnAttached onAttached ) : System
session Session The session.
name string The link name.
onAttached OnAttached The callback to handle received attach.
return System

OnAbort() protected abstract method

Aborts the link.
protected abstract OnAbort ( Error error ) : void
error Error
return void

OnClose() protected method

Closes the link.
protected OnClose ( Error error ) : bool
error Error The error.
return bool