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

Descriptor is restricted to symbol and ulong
Inheritance: Microsoft.Azure.Amqp.Encoding.DescribedType, IAmqpSerializable
Show file Open project: Azure/azure-amqp

Public Methods

Method Description
AmqpDescribed ( AmqpSymbol name, ulong code ) : System
Decode ( System.ByteBuffer buffer ) : void
DecodeDescriptor ( System.ByteBuffer buffer, AmqpSymbol &name, ulong &code ) : void
DecodeValue ( System.ByteBuffer buffer ) : void
Encode ( System.ByteBuffer buffer ) : void
EncodeValue ( System.ByteBuffer buffer ) : void
GetValueEncodeSize ( ) : int
ToString ( ) : string

Protected Methods

Method Description
AddFieldToString ( bool condition, StringBuilder sb, string fieldName, object value, int &count ) : void

Method Details

AddFieldToString() protected method

protected AddFieldToString ( bool condition, StringBuilder sb, string fieldName, object value, int &count ) : void
condition bool
sb StringBuilder
fieldName string
value object
count int
return void

AmqpDescribed() public method

public AmqpDescribed ( AmqpSymbol name, ulong code ) : System
name AmqpSymbol
code ulong
return System

Decode() public method

public Decode ( System.ByteBuffer buffer ) : void
buffer System.ByteBuffer
return void

DecodeDescriptor() public static method

public static DecodeDescriptor ( System.ByteBuffer buffer, AmqpSymbol &name, ulong &code ) : void
buffer System.ByteBuffer
name AmqpSymbol
code ulong
return void

DecodeValue() public method

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

Encode() public method

public Encode ( System.ByteBuffer buffer ) : void
buffer System.ByteBuffer
return void

EncodeValue() public method

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

GetValueEncodeSize() public method

public GetValueEncodeSize ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string