C# 클래스 Amqp.TaskExtensions

Provides extension methods.
파일 보기 프로젝트 열기: xamarin/mini-hacks 1 사용 예제들

공개 메소드들

메소드 설명
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