Class AbstractDescribedListTypeDecoder<V>
java.lang.Object
org.apache.qpid.protonj2.codec.decoders.AbstractDescribedTypeDecoder<V>
org.apache.qpid.protonj2.codec.decoders.AbstractDescribedListTypeDecoder<V>
- Type Parameters:
V
- The type that this decoder handles.
- All Implemented Interfaces:
DescribedTypeDecoder<V>
,StreamDescribedTypeDecoder<V>
,StreamTypeDecoder<V>
,TypeDecoder<V>
- Direct Known Subclasses:
AcceptedTypeDecoder
,AttachTypeDecoder
,BeginTypeDecoder
,CloseTypeDecoder
,CoordinatorTypeDecoder
,DeclaredTypeDecoder
,DeclareTypeDecoder
,DeleteOnCloseTypeDecoder
,DeleteOnNoLinksOrMessagesTypeDecoder
,DeleteOnNoLinksTypeDecoder
,DeleteOnNoMessagesTypeDecoder
,DetachTypeDecoder
,DischargeTypeDecoder
,DispositionTypeDecoder
,EndTypeDecoder
,ErrorConditionTypeDecoder
,FlowTypeDecoder
,HeaderTypeDecoder
,ModifiedTypeDecoder
,OpenTypeDecoder
,PropertiesTypeDecoder
,ReceivedTypeDecoder
,RejectedTypeDecoder
,ReleasedTypeDecoder
,SaslChallengeTypeDecoder
,SaslInitTypeDecoder
,SaslMechanismsTypeDecoder
,SaslOutcomeTypeDecoder
,SaslResponseTypeDecoder
,SourceTypeDecoder
,TargetTypeDecoder
,TransactionStateTypeDecoder
,TransferTypeDecoder
Abstract base for all List based Described Type decoders which implements the generic methods
common to all the implementations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
skipValue
(InputStream stream, StreamDecoderState state) Skips over the bytes that compose the type this descriptor decodes.final void
skipValue
(ProtonBuffer buffer, DecoderState state) Skips over the bytes that compose the type this descriptor decodes.Methods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractDescribedTypeDecoder
checkIsExpectedType, checkIsExpectedType, checkIsExpectedTypeAndCast, checkIsExpectedTypeAndCast, isArrayType, isNull, isPrimitive, readSize, readSize, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.qpid.protonj2.codec.DescribedTypeDecoder
decoderRegistered, getDescriptorCode, getDescriptorSymbol
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder
getDescriptorCode, getDescriptorSymbol
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
getTypeClass, readArrayElements, readValue
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
getTypeClass, readArrayElements, readValue
-
Constructor Details
-
AbstractDescribedListTypeDecoder
public AbstractDescribedListTypeDecoder()
-
-
Method Details
-
skipValue
Description copied from interface:TypeDecoder
Skips over the bytes that compose the type this descriptor decodes.Skipping values can be used when the type is not used or processed by the application doing the decoding. An example might be an AMQP message decoder that only needs to decode certain parts of the message and not others.
- Parameters:
buffer
- The buffer that contains the encoded type.state
- The decoder state.- Throws:
DecodeException
- if an error occurs while skipping the value.
-
skipValue
Description copied from interface:StreamTypeDecoder
Skips over the bytes that compose the type this descriptor decodes.Skipping values can be used when the type is not used or processed by the application doing the decoding. An example might be an AMQP message decoder that only needs to decode certain parts of the message and not others.
- Parameters:
stream
- The stream that contains the encoded type.state
- The decoder state.- Throws:
DecodeException
- if an error occurs while skipping the value.
-