Package com.rabbitmq.client.impl
Class ContentHeaderPropertyWriter
- java.lang.Object
 - 
- com.rabbitmq.client.impl.ContentHeaderPropertyWriter
 
 
- 
public class ContentHeaderPropertyWriter extends Object
Generates an AMQP wire-protocol packet from aContentHeader. Methods on this object are usually called from autogenerated code. 
- 
- 
Constructor Summary
Constructors Constructor Description ContentHeaderPropertyWriter(DataOutputStream out)Constructs a fresh ContentHeaderPropertyWriter. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishPresence()voidwriteLong(Integer l)voidwriteLonglong(Long ll)voidwriteLongstr(LongString str)voidwriteLongstr(String str)voidwriteOctet(int octet)voidwriteOctet(Integer octet)voidwritePresence(boolean present)voidwriteShort(Integer s)voidwriteShortstr(String str)voidwriteTable(Map<String,Object> table)voidwriteTimestamp(Date timestamp) 
 - 
 
- 
- 
Constructor Detail
- 
ContentHeaderPropertyWriter
public ContentHeaderPropertyWriter(DataOutputStream out)
Constructs a fresh ContentHeaderPropertyWriter. 
 - 
 
- 
Method Detail
- 
writePresence
public void writePresence(boolean present) throws IOException- Throws:
 IOException
 
- 
finishPresence
public void finishPresence() throws IOException- Throws:
 IOException
 
- 
writeShortstr
public void writeShortstr(String str) throws IOException
- Throws:
 IOException
 
- 
writeLongstr
public void writeLongstr(String str) throws IOException
- Throws:
 IOException
 
- 
writeLongstr
public void writeLongstr(LongString str) throws IOException
- Throws:
 IOException
 
- 
writeShort
public void writeShort(Integer s) throws IOException
- Throws:
 IOException
 
- 
writeLong
public void writeLong(Integer l) throws IOException
- Throws:
 IOException
 
- 
writeLonglong
public void writeLonglong(Long ll) throws IOException
- Throws:
 IOException
 
- 
writeTable
public void writeTable(Map<String,Object> table) throws IOException
- Throws:
 IOException
 
- 
writeOctet
public void writeOctet(Integer octet) throws IOException
- Throws:
 IOException
 
- 
writeOctet
public void writeOctet(int octet) throws IOException- Throws:
 IOException
 
- 
writeTimestamp
public void writeTimestamp(Date timestamp) throws IOException
- Throws:
 IOException
 
 - 
 
 -