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 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

      default DescribedTypeEncoder<V> encoderRegistered(Encoder encoder)
      Allow the type encoder to react to being registered with a given Encoder instance.
      Parameters:
      encoder - The Encoder that this type encoder is now registered with.
      Returns:
      this type encoder value after having initialized itself following registration.