|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rabbitmq.client.impl.ContentHeaderPropertyWriter
public class ContentHeaderPropertyWriter
Generates an AMQP wire-protocol packet from a ContentHeader. Methods on this object are usually called from autogenerated code.
| Field Summary | |
|---|---|
int |
bitCount
Position within current flags word |
int |
flagWord
Current flags word being accumulated |
java.io.DataOutputStream |
out
DataOutputStream wrapper for outBytes |
| Constructor Summary | |
|---|---|
ContentHeaderPropertyWriter(java.io.DataOutputStream out)
Constructs a fresh ContentHeaderPropertyWriter. |
|
| Method Summary | |
|---|---|
void |
emitFlagWord(boolean continuationBit)
|
void |
finishPresence()
|
void |
writeLong(java.lang.Integer l)
|
void |
writeLonglong(java.lang.Long ll)
|
void |
writeLongstr(LongString str)
|
void |
writeLongstr(java.lang.String str)
|
void |
writeOctet(java.lang.Integer octet)
|
void |
writePresence(boolean present)
|
void |
writeShort(java.lang.Integer s)
|
void |
writeShortstr(java.lang.String str)
|
void |
writeTable(java.util.Map<java.lang.String,java.lang.Object> table)
|
void |
writeTimestamp(java.util.Date timestamp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.io.DataOutputStream out
public int flagWord
public int bitCount
| Constructor Detail |
|---|
public ContentHeaderPropertyWriter(java.io.DataOutputStream out)
| Method Detail |
|---|
public void emitFlagWord(boolean continuationBit)
throws java.io.IOException
java.io.IOException
public void writePresence(boolean present)
throws java.io.IOException
java.io.IOException
public void finishPresence()
throws java.io.IOException
java.io.IOException
public void writeShortstr(java.lang.String str)
throws java.io.IOException
java.io.IOException
public void writeLongstr(java.lang.String str)
throws java.io.IOException
java.io.IOException
public void writeLongstr(LongString str)
throws java.io.IOException
java.io.IOException
public void writeShort(java.lang.Integer s)
throws java.io.IOException
java.io.IOException
public void writeLong(java.lang.Integer l)
throws java.io.IOException
java.io.IOException
public void writeLonglong(java.lang.Long ll)
throws java.io.IOException
java.io.IOException
public void writeTable(java.util.Map<java.lang.String,java.lang.Object> table)
throws java.io.IOException
java.io.IOException
public void writeOctet(java.lang.Integer octet)
throws java.io.IOException
java.io.IOException
public void writeTimestamp(java.util.Date timestamp)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||