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
Interface for all DescribedType decoder implementations
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribedTypeDecoder<V>
decoderRegistered
(Decoder decoder) Allow the type decoder to react to being registered with a givenDecoder
instance.Returns the AMQP descriptor code for the type this decoder reads.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 Details
-
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
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.
-