Package com.rabbitmq.client.impl
Class ContentHeaderPropertyWriter
java.lang.Object
com.rabbitmq.client.impl.ContentHeaderPropertyWriter
Generates an AMQP wire-protocol packet from a
ContentHeader
.
Methods on this object are usually called from autogenerated code.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
Position within current flags wordprivate int
Current flags word being accumulatedprivate final ValueWriter
Accumulates our output -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a fresh ContentHeaderPropertyWriter. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
emitFlagWord
(boolean continuationBit) void
void
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
void
writeShortstr
(String str) void
writeTable
(Map<String, Object> table) void
writeTimestamp
(Date timestamp)
-
Field Details
-
out
Accumulates our output -
flagWord
private int flagWordCurrent flags word being accumulated -
bitCount
private int bitCountPosition within current flags word
-
-
Constructor Details
-
ContentHeaderPropertyWriter
Constructs a fresh ContentHeaderPropertyWriter.
-
-
Method Details
-
emitFlagWord
- Throws:
IOException
-
writePresence
- Throws:
IOException
-
finishPresence
- Throws:
IOException
-
writeShortstr
- Throws:
IOException
-
writeLongstr
- Throws:
IOException
-
writeLongstr
- Throws:
IOException
-
writeShort
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeLonglong
- Throws:
IOException
-
writeTable
- Throws:
IOException
-
writeOctet
- Throws:
IOException
-
writeOctet
- Throws:
IOException
-
writeTimestamp
- Throws:
IOException
-