Package org.apache.qpid.protonj2.codec
Class SectionEncoder
java.lang.Object
org.apache.qpid.protonj2.codec.SectionEncoder
AMQP Section type specific encoder that uses any 
Encoder to
 cache the specific type encoders for various section types and use them
 directly instead of looking them up via calls to Encoder.writeObject(org.apache.qpid.protonj2.buffer.ProtonBuffer, EncoderState, Object)- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidwrite(ProtonBuffer buffer, ApplicationProperties properties) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, DeliveryAnnotations annotations) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, Footer footer) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, Header header) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, MessageAnnotations annotations) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, Properties properties) Writes the given section using the cached encoder for that section typesvoidwrite(ProtonBuffer buffer, Section<?> section) Writes the given section using the cached encoder for that section types
- 
Constructor Details- 
SectionEncoder
 
- 
- 
Method Details- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- section- The section to write using one of the cached encoders
 
- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- properties- The section to write using the cached encoder.
 
- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- annotations- The section to write using the cached encoder.
 
- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- annotations- The section to write using the cached encoder.
 
- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- properties- The section to write using the cached encoder.
 
- 
writeWrites the given section using the cached encoder for that section types- Parameters:
- buffer- The buffer to write the encoding to
- header- The section to write using the cached encoder.
 
 
-