Class Array8TypeDecoder
- java.lang.Object
-
- org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<java.lang.Object>
-
- org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
-
- org.apache.qpid.protonj2.codec.decoders.primitives.Array8TypeDecoder
-
- All Implemented Interfaces:
PrimitiveArrayTypeDecoder
,PrimitiveTypeDecoder<java.lang.Object>
,StreamTypeDecoder<java.lang.Object>
,TypeDecoder<java.lang.Object>
public final class Array8TypeDecoder extends AbstractArrayTypeDecoder
Decoder of AMQP Arrays from a byte stream.
-
-
Constructor Summary
Constructors Constructor Description Array8TypeDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTypeCode()
protected int
readCount(java.io.InputStream stream)
protected int
readCount(ProtonBuffer buffer)
protected int
readSize(java.io.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
isJavaPrimitive, 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.decoders.PrimitiveTypeDecoder
isJavaPrimitive
-
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
readArrayElements
-
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
readArrayElements
-
-
-
-
Method Detail
-
getTypeCode
public int getTypeCode()
- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
protected int readSize(ProtonBuffer buffer) throws DecodeException
- Specified by:
readSize
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readCount
protected int readCount(ProtonBuffer buffer) throws DecodeException
- Specified by:
readCount
in classAbstractArrayTypeDecoder
- Throws:
DecodeException
-
readSize
protected int readSize(java.io.InputStream stream)
- Specified by:
readSize
in classAbstractArrayTypeDecoder
-
readCount
protected int readCount(java.io.InputStream stream)
- Specified by:
readCount
in classAbstractArrayTypeDecoder
-
-