Class Array8TypeDecoder
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.Array8TypeDecoder
- All Implemented Interfaces:
PrimitiveArrayTypeDecoder,PrimitiveTypeDecoder<Object>,StreamTypeDecoder<Object>,TypeDecoder<Object>
Decoder of AMQP Arrays from a byte stream.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected intreadCount(InputStream stream) protected intreadCount(ProtonBuffer buffer) protected intreadSize(InputStream stream) protected intreadSize(ProtonBuffer buffer) Methods inherited from class org.apache.qpid.protonj2.codec.decoders.primitives.AbstractArrayTypeDecoder
getTypeClass, isArrayType, readValue, readValue, skipValue, skipValueMethods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder
isJavaPrimitive, readArrayElements, readArrayElementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.qpid.protonj2.codec.decoders.PrimitiveTypeDecoder
isJavaPrimitiveMethods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
readArrayElementsMethods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
readArrayElements
-
Constructor Details
-
Array8TypeDecoder
public Array8TypeDecoder()
-
-
Method Details
-
getTypeCode
public int getTypeCode()- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
- Specified by:
readSizein classAbstractArrayTypeDecoder- Throws:
DecodeException
-
readCount
- Specified by:
readCountin classAbstractArrayTypeDecoder- Throws:
DecodeException
-
readSize
- Specified by:
readSizein classAbstractArrayTypeDecoder
-
readCount
- Specified by:
readCountin classAbstractArrayTypeDecoder
-