C# Класс Amqp.TaskExtensions

Provides extension methods.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CloseAsync ( this amqpObject, int timeout = 60000 ) : System.Threading.Tasks.Task

Closes an AMQP object asynchronously.

ReceiveAsync ( this receiver, int timeout = 60000 ) : Task

Receives a message asynchronously.

SendAsync ( this sender, Amqp.Message message ) : System.Threading.Tasks.Task

Sends a message asynchronously.

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

Метод Описание
AuthenticateAsClientAsync ( this source, string targetHost ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( this source, string targetHost, System clientCertificates, System enabledSslProtocols, bool checkCertificateRevocation ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( this source, System serverCertificate ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( this source, System serverCertificate, bool clientCertificateRequired, System enabledSslProtocols, bool checkCertificateRevocation ) : System.Threading.Tasks.Task
ContinueWith ( this task, object>.Action action, object state ) : System.Threading.Tasks.Task
GetByteBuffer ( this bufferManager, int size ) : ByteBuffer
GetHostAddressesAsync ( string host ) : Task
GetHostEntryAsync ( string host ) : Task
GetTransactionalStateAsync ( SenderLink sender ) : Task
OpenAsync ( this saslProfile, string hostname, IBufferManager bufferManager, IAsyncTransport transport ) : Task
ReadAsync ( this source, byte buffer, int offset, int count ) : Task
WriteAsync ( this source, byte buffer, int offset, int count ) : System.Threading.Tasks.Task

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

CloseAsync() публичный статический Метод

Closes an AMQP object asynchronously.
public static CloseAsync ( this amqpObject, int timeout = 60000 ) : System.Threading.Tasks.Task
amqpObject this The object to close.
timeout int The timeout in seconds.
Результат System.Threading.Tasks.Task

ReceiveAsync() публичный статический Метод

Receives a message asynchronously.
public static ReceiveAsync ( this receiver, int timeout = 60000 ) : Task
receiver this The link.
timeout int The timeout in seconds.
Результат Task

SendAsync() публичный статический Метод

Sends a message asynchronously.
public static SendAsync ( this sender, Amqp.Message message ) : System.Threading.Tasks.Task
sender this The link.
message Amqp.Message The message.
Результат System.Threading.Tasks.Task