C# Class Amqp.Link

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

Private Properties

Свойство Type Description
Abort void
OnAttach void
OnDeliveryStateChanged void
OnDetach bool
OnFlow void
OnTransfer void
SendAttach void
SendDetach void
SendFlow void
ThrowIfDetaching void

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat System

OnAbort() protected abstract méthode

Aborts the link.
protected abstract OnAbort ( Error error ) : void
error Error
Résultat void

OnClose() protected méthode

Closes the link.
protected OnClose ( Error error ) : bool
error Error The error.
Résultat bool