Package org.apache.qpid.protonj2.codec
Interface DescribedTypeDecoder<V>
-
- Type Parameters:
V
- The type this decoder handles
- All Superinterfaces:
TypeDecoder<V>
- All Known Implementing Classes:
AbstractDescribedTypeDecoder
,AcceptedTypeDecoder
,AmqpSequenceTypeDecoder
,AmqpValueTypeDecoder
,ApplicationPropertiesTypeDecoder
,AttachTypeDecoder
,BeginTypeDecoder
,CloseTypeDecoder
,CoordinatorTypeDecoder
,DataTypeDecoder
,DeclaredTypeDecoder
,DeclareTypeDecoder
,DeleteOnCloseTypeDecoder
,DeleteOnNoLinksOrMessagesTypeDecoder
,DeleteOnNoLinksTypeDecoder
,DeleteOnNoMessagesTypeDecoder
,DeliveryAnnotationsTypeDecoder
,DetachTypeDecoder
,DischargeTypeDecoder
,DispositionTypeDecoder
,EndTypeDecoder
,ErrorConditionTypeDecoder
,FlowTypeDecoder
,FooterTypeDecoder
,HeaderTypeDecoder
,MessageAnnotationsTypeDecoder
,ModifiedTypeDecoder
,OpenTypeDecoder
,PropertiesTypeDecoder
,ReceivedTypeDecoder
,RejectedTypeDecoder
,ReleasedTypeDecoder
,SaslChallengeTypeDecoder
,SaslInitTypeDecoder
,SaslMechanismsTypeDecoder
,SaslOutcomeTypeDecoder
,SaslResponseTypeDecoder
,SourceTypeDecoder
,TargetTypeDecoder
,TransactionStateTypeDecoder
,TransferTypeDecoder
,UnknownDescribedTypeDecoder
public interface DescribedTypeDecoder<V> extends TypeDecoder<V>
Interface for all DescribedType decoder implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribedTypeDecoder<V>
decoderRegistered(Decoder decoder)
Allow the type decoder to react to being registered with a givenDecoder
instance.UnsignedLong
getDescriptorCode()
Returns the AMQP descriptor code for the type this decoder reads.Symbol
getDescriptorSymbol()
Returns the AMQP descriptor symbol for the type this decoder reads.-
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
getTypeClass, isArrayType, readArrayElements, readValue, skipValue
-
-
-
-
Method Detail
-
getDescriptorCode
UnsignedLong getDescriptorCode()
Returns the AMQP descriptor code for the type this decoder reads.- Returns:
- an unsigned long descriptor code value.
-
getDescriptorSymbol
Symbol getDescriptorSymbol()
Returns the AMQP descriptor symbol for the type this decoder reads.- Returns:
- an symbol descriptor code value.
-
decoderRegistered
default DescribedTypeDecoder<V> decoderRegistered(Decoder decoder)
Allow the type decoder to react to being registered with a givenDecoder
instance.- Parameters:
decoder
- TheDecoder
that this type decoder is now registered with.- Returns:
- this type decoder value after having initialized itself following registration.
-
-