C# Class Microsoft.Azure.Amqp.AmqpConnectionBase

The base class for AMQP connection. It should be version independent.
Inheritance: AmqpObject, IIoHandler, ITransportMonitor
Show file Open project: Azure/azure-amqp

Public Methods

Method Description
SendBuffer ( ByteBuffer buffer ) : void
SendBuffers ( ByteBuffer buffers ) : void
SendDatablock ( IAmqpSerializable dataBlock ) : void

Protected Methods

Method Description
AmqpConnectionBase ( string type, TransportBase transport, AmqpConnectionSettings settings, bool isInitiator ) : System
HandleIoEvent ( IoEvent ioEvent ) : void
OnFrameBuffer ( ByteBuffer buffer ) : void
OnProtocolHeader ( ProtocolHeader header ) : void

Private Methods

Method Description
IIoHandler ( ByteBuffer buffer ) : void
IIoHandler ( Exception exception ) : void
IIoHandler ( IoEvent ioEvent, long queueSize ) : void
ITransportMonitor ( int bufferSize, int readSize, int cacheHits, long latencyTicks ) : void
ITransportMonitor ( int bufferSize, int writeSize, long queueSize, long latencyTicks ) : void
OnReceiveFrameBuffer ( ByteBuffer buffer ) : void

Method Details

AmqpConnectionBase() protected method

protected AmqpConnectionBase ( string type, TransportBase transport, AmqpConnectionSettings settings, bool isInitiator ) : System
type string
transport Microsoft.Azure.Amqp.Transport.TransportBase
settings AmqpConnectionSettings
isInitiator bool
return System

HandleIoEvent() protected method

protected HandleIoEvent ( IoEvent ioEvent ) : void
ioEvent IoEvent
return void

OnFrameBuffer() protected abstract method

protected abstract OnFrameBuffer ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

OnProtocolHeader() protected abstract method

protected abstract OnProtocolHeader ( ProtocolHeader header ) : void
header Microsoft.Azure.Amqp.Framing.ProtocolHeader
return void

SendBuffer() public method

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

SendBuffers() public method

public SendBuffers ( ByteBuffer buffers ) : void
buffers ByteBuffer
return void

SendDatablock() public method

public SendDatablock ( IAmqpSerializable dataBlock ) : void
dataBlock IAmqpSerializable
return void