Package org.apache.qpid.protonj2.codec
-
Interface Summary Interface Description Decoder Decode AMQP types from a byte stream read from aProtonBuffer
instance.DecoderState Retains state of decode either between calls or across decode iterationsDescribedTypeDecoder<V> Interface for all DescribedType decoder implementationsDescribedTypeEncoder<V> Interface for all DescribedType encoder implementationsEncoder Encode AMQP types into binary streamsEncoderState Retains Encoder state information either between calls or across encode iterations.EncodingCodes Provides a set of definitions for the byte value that indicates what the next AMQP encoding will be when encoding or decoding AMQP types.StreamDecoder Decode AMQP types from aInputStream
instance.StreamDecoderState Retains state of theInputStream
based decode either between calls or across decode iterationsStreamDescribedTypeDecoder<V> Interface for all DescribedType decoder implementationsStreamTypeDecoder<V> Interface for an decoder of a specific AMQP Type.TypeDecoder<V> Interface for an decoder of a specific AMQP Type.TypeEncoder<V> Interface for an encoder of a specific AMQP Type. -
Class Summary Class Description CodecFactory Factory Class used to create new instances of AMQP type Encoder and Decoder instances registered in the factory.PerformativeEncoder AMQP Performative type specific encoder that uses anyEncoder
to cache the specific type encoders for various section types and use them directly instead of looking them up via calls toEncoder.writeObject(org.apache.qpid.protonj2.buffer.ProtonBuffer, EncoderState, Object)
SectionEncoder AMQP Section type specific encoder that uses anyEncoder
to cache the specific type encoders for various section types and use them directly instead of looking them up via calls toEncoder.writeObject(org.apache.qpid.protonj2.buffer.ProtonBuffer, EncoderState, Object)
-
Exception Summary Exception Description DecodeEOFException Exception thrown when a type decoder fails due to some unrecoverable error or violation of AMQP type specifications for an incoming encoded byte sequence.DecodeException Exception thrown when a type decoder fails due to some unrecoverable error or violation of AMQP type specifications for an incoming encoded byte sequence.EncodeException Exception thrown when a type encoder fails due to some unrecoverable error or violation of AMQP type specifications.