Package com.rabbitmq.client.impl
Class ValueReader
java.lang.Object
com.rabbitmq.client.impl.ValueReader
Helper class to read AMQP wire-protocol encoded values.
-
Constructor Summary
ConstructorDescriptionConstruct a MethodArgumentReader streaming over the given DataInputStream. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
readLong()
Public API - reads an integer.final long
Public API - reads a long integer.final LongString
Public API - reads a long string.final int
Public API - reads an octet.final int
Public API - reads a short integer.final String
Public API - reads a short string.Public API - reads a table.final Date
Public API - reads an timestamp.
-
Constructor Details
-
ValueReader
Construct a MethodArgumentReader streaming over the given DataInputStream.
-
-
Method Details
-
readShortstr
Public API - reads a short string.- Throws:
IOException
-
readLongstr
Public API - reads a long string.- Throws:
IOException
-
readShort
Public API - reads a short integer.- Throws:
IOException
-
readLong
Public API - reads an integer.- Throws:
IOException
-
readLonglong
Public API - reads a long integer.- Throws:
IOException
-
readTable
Public API - reads a table.- Throws:
IOException
-
readOctet
Public API - reads an octet.- Throws:
IOException
-
readTimestamp
Public API - reads an timestamp.- Throws:
IOException
-