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
public interface DescribedTypeEncoder<V> extends TypeEncoder<V>
Interface for all DescribedType encoder implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribedTypeEncoder<V>
encoderRegistered(Encoder encoder)
Allow the type encoder to react to being registered with a givenEncoder
instance.UnsignedLong
getDescriptorCode()
Symbol
getDescriptorSymbol()
-
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeEncoder
getTypeClass, isArrayType, writeArray, writeRawArray, writeType
-
-
-
-
Method Detail
-
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
default DescribedTypeEncoder<V> encoderRegistered(Encoder encoder)
Allow the type encoder to react to being registered with a givenEncoder
instance.- Parameters:
encoder
- TheEncoder
that this type encoder is now registered with.- Returns:
- this type encoder value after having initialized itself following registration.
-
-