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 intPosition within current flags wordprivate intCurrent flags word being accumulatedprivate final ValueWriterAccumulates our output -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a fresh ContentHeaderPropertyWriter. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidemitFlagWord(boolean continuationBit) voidvoidvoidwriteLonglong(Long ll) voidwriteLongstr(LongString str) voidwriteLongstr(String str) voidwriteOctet(int octet) voidwriteOctet(Integer octet) voidwritePresence(boolean present) voidvoidwriteShortstr(String str) voidwriteTable(Map<String, Object> table) voidwriteTimestamp(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
-