Proton DotNet
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder Class Referencesealed
Inheritance diagram for Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder:
Apache.Qpid.Proton.Codec.Decoders.AbstractDescribedTypeDecoder Apache.Qpid.Proton.Codec.IDescribedTypeDecoder Apache.Qpid.Proton.Codec.IStreamDescribedTypeDecoder Apache.Qpid.Proton.Codec.ITypeDecoder Apache.Qpid.Proton.Codec.IStreamTypeDecoder

Public Member Functions

override object ReadValue (IProtonBuffer buffer, IDecoderState state)
 Reads this decoders managed type from the given buffer and returns it.
 
override Array ReadArrayElements (IProtonBuffer buffer, IDecoderState state, int count)
 Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.
 
override void SkipValue (IProtonBuffer buffer, IDecoderState state)
 Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.
 
override object ReadValue (Stream stream, IStreamDecoderState state)
 Reads this decoders managed type from the given buffer and returns it.
 
override Array ReadArrayElements (Stream stream, IStreamDecoderState state, int count)
 Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.
 
override void SkipValue (Stream stream, IStreamDecoderState state)
 Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.
 
- Public Member Functions inherited from Apache.Qpid.Proton.Codec.Decoders.AbstractDescribedTypeDecoder
object ReadValue (IProtonBuffer buffer, IDecoderState state)
 Reads this decoders managed type from the given buffer and returns it.
 
Array ReadArrayElements (IProtonBuffer buffer, IDecoderState state, int count)
 Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.
 
void SkipValue (IProtonBuffer buffer, IDecoderState state)
 Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.
 
object ReadValue (Stream stream, IStreamDecoderState state)
 Reads this decoders managed type from the given buffer and returns it.
 
Array ReadArrayElements (Stream stream, IStreamDecoderState state, int count)
 Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.
 
void SkipValue (Stream stream, IStreamDecoderState state)
 Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.
 
override string ToString ()
 

Properties

override Symbol DescriptorSymbol [get]
 Returns an AMQP Symbol code that describes the type to be decoded.
 
override ulong DescriptorCode [get]
 Returns an AMQP unsigned int numeric code that describes the type to be decoded.
 
override Type DecodesType [get]
 The Type that this decoder can read.
 
- Properties inherited from Apache.Qpid.Proton.Codec.Decoders.AbstractDescribedTypeDecoder
bool IsArrayType [get]
 Returns true if the value that this decoder is going to read is an array type.
 
Symbol DescriptorSymbol [get]
 Returns an AMQP Symbol code that describes the type to be decoded.
 
ulong DescriptorCode [get]
 Returns an AMQP unsigned int numeric code that describes the type to be decoded.
 
Type DecodesType [get]
 The Type that this decoder can read.
 
- Properties inherited from Apache.Qpid.Proton.Codec.IDescribedTypeDecoder
- Properties inherited from Apache.Qpid.Proton.Codec.ITypeDecoder
- Properties inherited from Apache.Qpid.Proton.Codec.IStreamDescribedTypeDecoder
- Properties inherited from Apache.Qpid.Proton.Codec.IStreamTypeDecoder

Additional Inherited Members

- Static Protected Member Functions inherited from Apache.Qpid.Proton.Codec.Decoders.AbstractDescribedTypeDecoder
static T CheckIsExpectedTypeAndCast< T > (ITypeDecoder actual)
 
static T CheckIsExpectedTypeAndCast< T > (IStreamTypeDecoder actual)
 
static void CheckIsExpectedType< T > (ITypeDecoder actual)
 
static void CheckIsExpectedType< T > (IStreamTypeDecoder actual)
 

Member Function Documentation

◆ ReadArrayElements() [1/2]

override Array Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.ReadArrayElements ( IProtonBuffer  buffer,
IDecoderState  state,
int  count 
)
inline

Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.

Parameters
bufferThe buffer where the encoded bytes can be read from
stateThe decoder state that can be used during decode
countthe number of elements that the encoded array contains
Returns
The decoded array from the given buffer

Implements Apache.Qpid.Proton.Codec.ITypeDecoder.

◆ ReadArrayElements() [2/2]

override Array Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.ReadArrayElements ( Stream  stream,
IStreamDecoderState  state,
int  count 
)
inline

Reads a series of this type that have been encoded into the body of an Array type. When encoded into an array the values are encoded in series following the identifier for the type, this method is given a count of the number of instances that are encoded and should read each in succession and returning them in a new array.

Parameters
streamThe stream where the encoded bytes can be read from
stateThe decoder state that can be used during decode
countthe number of elements that the encoded array contains
Returns
The decoded array from the given stream

Implements Apache.Qpid.Proton.Codec.IStreamTypeDecoder.

◆ ReadValue() [1/2]

override object Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.ReadValue ( IProtonBuffer  buffer,
IDecoderState  state 
)
inline

Reads this decoders managed type from the given buffer and returns it.

Parameters
bufferThe buffer where the encoded bytes can be read from
stateThe decoder state that can be used during decode
Returns
The decoded value from the byte stream

Implements Apache.Qpid.Proton.Codec.ITypeDecoder.

◆ ReadValue() [2/2]

override object Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.ReadValue ( Stream  stream,
IStreamDecoderState  state 
)
inline

Reads this decoders managed type from the given buffer and returns it.

Parameters
streamThe stream where the encoded bytes can be read from
stateThe decoder state that can be used during decode
Returns
The decoded value from the byte stream

Implements Apache.Qpid.Proton.Codec.IStreamTypeDecoder.

◆ SkipValue() [1/2]

override void Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.SkipValue ( IProtonBuffer  buffer,
IDecoderState  state 
)
inline

Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.

Parameters
bufferThe buffer where the encoded bytes can be read from
stateThe decoder state that can be used during decode

Implements Apache.Qpid.Proton.Codec.ITypeDecoder.

◆ SkipValue() [2/2]

override void Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.SkipValue ( Stream  stream,
IStreamDecoderState  state 
)
inline

Skips the value that this decoder is handling by skipping the encoded bytes in the provided buffer instance.

Parameters
streamThe stream where the encoded bytes can be read from
stateThe decoder state that can be used during decode

Implements Apache.Qpid.Proton.Codec.IStreamTypeDecoder.

Property Documentation

◆ DecodesType

override Type Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.DecodesType
get

The Type that this decoder can read.

Returns
The Type value that this type decoder decodes

Implements Apache.Qpid.Proton.Codec.ITypeDecoder.

◆ DescriptorCode

override ulong Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.DescriptorCode
get

Returns an AMQP unsigned int numeric code that describes the type to be decoded.

Implements Apache.Qpid.Proton.Codec.IDescribedTypeDecoder.

◆ DescriptorSymbol

override Symbol Apache.Qpid.Proton.Codec.Decoders.Messaging.ApplicationPropertiesTypeDecoder.DescriptorSymbol
get

Returns an AMQP Symbol code that describes the type to be decoded.

Implements Apache.Qpid.Proton.Codec.IDescribedTypeDecoder.


The documentation for this class was generated from the following file: