Package com.rabbitmq.client.impl
Class ValueReader
- java.lang.Object
-
- com.rabbitmq.client.impl.ValueReader
-
public class ValueReader extends Object
Helper class to read AMQP wire-protocol encoded values.
-
-
Constructor Summary
Constructors Constructor Description ValueReader(DataInputStream in)
Construct a MethodArgumentReader streaming over the given DataInputStream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
readLong()
Public API - reads an integer.long
readLonglong()
Public API - reads a long integer.LongString
readLongstr()
Public API - reads a long string.int
readOctet()
Public API - reads an octet.int
readShort()
Public API - reads a short integer.String
readShortstr()
Public API - reads a short string.Map<String,Object>
readTable()
Public API - reads a table.Date
readTimestamp()
Public API - reads an timestamp.
-
-
-
Constructor Detail
-
ValueReader
public ValueReader(DataInputStream in)
Construct a MethodArgumentReader streaming over the given DataInputStream.
-
-
Method Detail
-
readShortstr
public final String readShortstr() throws IOException
Public API - reads a short string.- Throws:
IOException
-
readLongstr
public final LongString readLongstr() throws IOException
Public API - reads a long string.- Throws:
IOException
-
readShort
public final int readShort() throws IOException
Public API - reads a short integer.- Throws:
IOException
-
readLong
public final int readLong() throws IOException
Public API - reads an integer.- Throws:
IOException
-
readLonglong
public final long readLonglong() throws IOException
Public API - reads a long integer.- Throws:
IOException
-
readTable
public final Map<String,Object> readTable() throws IOException
Public API - reads a table.- Throws:
IOException
-
readOctet
public final int readOctet() throws IOException
Public API - reads an octet.- Throws:
IOException
-
readTimestamp
public final Date readTimestamp() throws IOException
Public API - reads an timestamp.- Throws:
IOException
-
-