C# Класс Amqp.Link

The Link class represents an AMQP link.
Наследование: Amqp.AmqpObject
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Abort void
OnAttach void
OnDeliveryStateChanged void
OnDetach bool
OnFlow void
OnTransfer void
SendAttach void
SendDetach void
SendFlow void
ThrowIfDetaching void

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Link() защищенный Метод

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.
Результат System

OnAbort() защищенный абстрактный Метод

Aborts the link.
protected abstract OnAbort ( Error error ) : void
error Error
Результат void

OnClose() защищенный Метод

Closes the link.
protected OnClose ( Error error ) : bool
error Error The error.
Результат bool