Package org.apache.qpid.protonj2.codec
Interface DescribedTypeEncoder<V>
- Type Parameters:
V- The type this decoder handles
- All Superinterfaces:
TypeEncoder<V>
- All Known Implementing Classes:
AbstractDescribedListTypeEncoder,AbstractDescribedMapTypeEncoder,AbstractDescribedTypeEncoder,AcceptedTypeEncoder,AmqpSequenceTypeEncoder,AmqpValueTypeEncoder,ApplicationPropertiesTypeEncoder,AttachTypeEncoder,BeginTypeEncoder,CloseTypeEncoder,CoordinatorTypeEncoder,DataTypeEncoder,DeclaredTypeEncoder,DeclareTypeEncoder,DeleteOnCloseTypeEncoder,DeleteOnNoLinksOrMessagesTypeEncoder,DeleteOnNoLinksTypeEncoder,DeleteOnNoMessagesTypeEncoder,DeliveryAnnotationsTypeEncoder,DetachTypeEncoder,DischargeTypeEncoder,DispositionTypeEncoder,EndTypeEncoder,ErrorConditionTypeEncoder,FlowTypeEncoder,FooterTypeEncoder,HeaderTypeEncoder,MessageAnnotationsTypeEncoder,ModifiedTypeEncoder,OpenTypeEncoder,PropertiesTypeEncoder,ReceivedTypeEncoder,RejectedTypeEncoder,ReleasedTypeEncoder,SaslChallengeTypeEncoder,SaslInitTypeEncoder,SaslMechanismsTypeEncoder,SaslOutcomeTypeEncoder,SaslResponseTypeEncoder,SourceTypeEncoder,TargetTypeEncoder,TransactionStateTypeEncoder,TransferTypeEncoder
Interface for all DescribedType encoder implementations
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribedTypeEncoder<V>encoderRegistered(Encoder encoder) Allow the type encoder to react to being registered with a givenEncoderinstance.Methods inherited from interface org.apache.qpid.protonj2.codec.TypeEncoder
getTypeClass, isArrayType, writeArray, writeRawArray, writeType
-
Method Details
-
getDescriptorCode
UnsignedLong getDescriptorCode()- Returns:
- the UnsignedLong value to use as the Descriptor for this type.
-
getDescriptorSymbol
Symbol getDescriptorSymbol()- Returns:
- the Symbol value to use as the Descriptor for this type.
-
encoderRegistered
Allow the type encoder to react to being registered with a givenEncoderinstance.- Parameters:
encoder- TheEncoderthat this type encoder is now registered with.- Returns:
- this type encoder value after having initialized itself following registration.
-