C# Class Microsoft.Azure.Amqp.AsyncIO.AsyncWriter

A writer that writes buffers. Buffer writes may be batched. Writer owns closing the transport.
Show file Open project: Azure/azure-amqp

Private Properties

Property Type Description
ContinueWrite void
EnqueueBuffer void
HandleWriteBufferComplete bool
OnBufferDequeued void
WriteCompleteCallback void
WriteCore bool

Public Methods

Method Description
AsyncWriter ( TransportBase transport, int writeQueueFullLimit, int writeQueueEmptyLimit, IIoHandler parent ) : System
IssueClose ( ) : void
WriteBuffer ( ByteBuffer buffer ) : void
WriteBuffer ( IList buffers ) : void

Private Methods

Method Description
ContinueWrite ( ) : void
EnqueueBuffer ( ByteBuffer buffer ) : void
HandleWriteBufferComplete ( TransportAsyncCallbackArgs args ) : bool
OnBufferDequeued ( int size ) : void
WriteCompleteCallback ( TransportAsyncCallbackArgs args ) : void
WriteCore ( ) : bool

Method Details

AsyncWriter() public method

public AsyncWriter ( TransportBase transport, int writeQueueFullLimit, int writeQueueEmptyLimit, IIoHandler parent ) : System
transport Microsoft.Azure.Amqp.Transport.TransportBase
writeQueueFullLimit int
writeQueueEmptyLimit int
parent IIoHandler
return System

IssueClose() public method

public IssueClose ( ) : void
return void

WriteBuffer() public method

public WriteBuffer ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

WriteBuffer() public method

public WriteBuffer ( IList buffers ) : void
buffers IList
return void