Class Array32TypeDecoder
java.lang.Object
org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<Object>
org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
org.apache.qpid.protonj2.codec.decoders.primitives.Array32TypeDecoder
- All Implemented Interfaces:
PrimitiveArrayTypeDecoder
,PrimitiveTypeDecoder<Object>
,StreamTypeDecoder<Object>
,TypeDecoder<Object>
Decoder of AMQP Arrays from a byte stream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
protected int
readCount
(InputStream stream) protected int
readCount
(ProtonBuffer buffer) protected int
readSize
(InputStream stream) protected int
readSize
(ProtonBuffer buffer) Methods inherited from class org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
getTypeClass, isArrayType, readValue, readValue, skipValue, skipValue
Methods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder
readArrayElements, readArrayElements
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
readArrayElements
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
readArrayElements
-
Constructor Details
-
Array32TypeDecoder
public Array32TypeDecoder()
-
-
Method Details
-
getTypeCode
public int getTypeCode()- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
isJavaPrimitive
public boolean isJavaPrimitive()- Specified by:
isJavaPrimitive
in interfacePrimitiveTypeDecoder<Object>
- Overrides:
isJavaPrimitive
in classAbstractPrimitiveTypeDecoder<Object>
- Returns:
- true if the type managed by this decoder is assignable to a Java primitive type.
-
readSize
- Specified by:
readSize
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readCount
- Specified by:
readCount
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readSize
- Specified by:
readSize
in classAbstractArrayTypeDecoder
-
readCount
- Specified by:
readCount
in classAbstractArrayTypeDecoder
-