public class

ContentHeaderPropertyWriter

extends Object
java.lang.Object
   ↳ com.rabbitmq.client.impl.ContentHeaderPropertyWriter

Class Overview

Generates an AMQP wire-protocol packet from a ContentHeader. Methods on this object are usually called from autogenerated code.

Summary

Fields
public int bitCount Position within current flags word
public int flagWord Current flags word being accumulated
Public Constructors
ContentHeaderPropertyWriter(DataOutputStream out)
Constructs a fresh ContentHeaderPropertyWriter.
Public Methods
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<StringObject> table)
void writeTimestamp(Date timestamp)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int bitCount

Position within current flags word

public int flagWord

Current flags word being accumulated

Public Constructors

public ContentHeaderPropertyWriter (DataOutputStream out)

Constructs a fresh ContentHeaderPropertyWriter.

Public Methods

public void finishPresence ()

Throws
IOException

public void writeLong (Integer l)

Throws
IOException

public void writeLonglong (Long ll)

Throws
IOException

public void writeLongstr (LongString str)

Throws
IOException

public void writeLongstr (String str)

Throws
IOException

public void writeOctet (int octet)

Throws
IOException

public void writeOctet (Integer octet)

Throws
IOException

public void writePresence (boolean present)

Throws
IOException

public void writeShort (Integer s)

Throws
IOException

public void writeShortstr (String str)

Throws
IOException

public void writeTable (Map<StringObject> table)

Throws
IOException

public void writeTimestamp (Date timestamp)

Throws
IOException