C# Class Microsoft.Azure.Amqp.Framing.DescribedList

Encoding of DescribedType(symbol/ulong, list) is not efficient if the descriptor and the list fields are pre-defined, e.g. the performatives and other types used by the protocol.
Inheritance: AmqpDescribed
Show file Open project: Azure/azure-amqp

Public Methods

Method Description
DecodeValue ( ByteBuffer buffer ) : void
DecodeValue ( ByteBuffer buffer, int size, int count ) : void
DescribedList ( AmqpSymbol name, ulong code ) : Microsoft.Azure.Amqp.Encoding
EncodeValue ( ByteBuffer buffer ) : void
GetValueEncodeSize ( ) : int

Protected Methods

Method Description
EnsureRequired ( ) : void
OnDecode ( ByteBuffer buffer, int count ) : void
OnEncode ( ByteBuffer buffer ) : void
OnValueSize ( ) : int

Method Details

DecodeValue() public method

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

DecodeValue() public method

public DecodeValue ( ByteBuffer buffer, int size, int count ) : void
buffer ByteBuffer
size int
count int
return void

DescribedList() public method

public DescribedList ( AmqpSymbol name, ulong code ) : Microsoft.Azure.Amqp.Encoding
name AmqpSymbol
code ulong
return Microsoft.Azure.Amqp.Encoding

EncodeValue() public method

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

EnsureRequired() protected method

protected EnsureRequired ( ) : void
return void

GetValueEncodeSize() public method

public GetValueEncodeSize ( ) : int
return int

OnDecode() protected abstract method

protected abstract OnDecode ( ByteBuffer buffer, int count ) : void
buffer ByteBuffer
count int
return void

OnEncode() protected abstract method

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

OnValueSize() protected abstract method

protected abstract OnValueSize ( ) : int
return int