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 void
finishPresence()
void
writeLong(Integer l)
void
writeLonglong(Long ll)
void
writeLongstr(LongString str)
void
writeLongstr(String str)
void
writeOctet(int octet)
void
writeOctet(Integer octet)
void
writePresence(boolean present)
void
writeShort(Integer s)
void
writeShortstr(String str)
void
writeTable(Map<String,Object> table)
void
writeTimestamp(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
-
-