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

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