public class ContentHeaderPropertyReader extends Object
ContentHeader
from a
DataInputStream. Methods on this object are usually called from
autogenerated code.Modifier and Type | Field and Description |
---|---|
int |
bitCount
Current flag position counter
|
int |
flagWord
Current field flag word
|
Constructor and Description |
---|
ContentHeaderPropertyReader(DataInputStream in)
Protected API - Constructs a reader from the given input stream
|
Modifier and Type | Method and Description |
---|---|
void |
finishPresence() |
void |
readFlagWord() |
Integer |
readLong()
Reads and returns an AMQP integer content header field.
|
Long |
readLonglong()
Reads and returns an AMQP long integer content header field.
|
LongString |
readLongstr()
Reads and returns an AMQP "long string" (binary) content header field.
|
int |
readOctet()
Reads and returns an AMQP octet content header field.
|
boolean |
readPresence() |
Integer |
readShort()
Reads and returns an AMQP short integer content header field.
|
String |
readShortstr()
Reads and returns an AMQP short string content header field.
|
Map<String,Object> |
readTable()
Reads and returns an AMQP table content header field.
|
Date |
readTimestamp()
Reads and returns an AMQP timestamp content header field.
|
public int flagWord
public int bitCount
public ContentHeaderPropertyReader(DataInputStream in) throws IOException
IOException
public void readFlagWord() throws IOException
IOException
public boolean readPresence() throws IOException
IOException
public void finishPresence() throws IOException
IOException
public String readShortstr() throws IOException
IOException
public LongString readLongstr() throws IOException
IOException
public Integer readShort() throws IOException
IOException
public Integer readLong() throws IOException
IOException
public Long readLonglong() throws IOException
IOException
public Map<String,Object> readTable() throws IOException
IOException
public int readOctet() throws IOException
IOException
public Date readTimestamp() throws IOException
IOException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.