Uses of Interface
org.apache.qpid.protonj2.codec.Encoder
Package
Description
-
Uses of Encoder in org.apache.qpid.protonj2.client.impl
Modifier and TypeMethodDescriptionstatic ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBuffer
ClientMessageSupport.encodeMessage
(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) -
Uses of Encoder in org.apache.qpid.protonj2.codec
Modifier and TypeMethodDescriptionstatic Encoder
CodecFactory.getDefaultEncoder()
static Encoder
CodecFactory.getDefaultSaslEncoder()
static Encoder
CodecFactory.getEncoder()
EncoderState.getEncoder()
PerformativeEncoder.getEncoder()
static Encoder
CodecFactory.getSaslEncoder()
<V> Encoder
Encoder.registerDescribedTypeEncoder
(DescribedTypeEncoder<V> encoder) Register aDescribedTypeEncoder
which can be used when writing custom types using this encoder.Modifier and TypeMethodDescriptiondefault DescribedTypeEncoder
<V> DescribedTypeEncoder.encoderRegistered
(Encoder encoder) Allow the type encoder to react to being registered with a givenEncoder
instance.void
PerformativeEncoder.handleAttach
(Attach attach, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleBegin
(Begin begin, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleClose
(Close close, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleDetach
(Detach detach, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleDisposition
(Disposition disposition, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleEnd
(End end, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleFlow
(Flow flow, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleOpen
(Open open, ProtonBuffer target, int channel, Encoder encoder) void
PerformativeEncoder.handleTransfer
(Transfer transfer, ProtonBuffer target, int channel, Encoder encoder) static void
CodecFactory.setEncoder
(Encoder encoder) Sets anEncoder
instance that will be returned from all calls to theCodecFactory.getEncoder()
.static void
CodecFactory.setSaslEncoder
(Encoder encoder) Sets anEncoder
instance that will be returned from all calls to theCodecFactory.getSaslEncoder()
.ModifierConstructorDescriptionPerformativeEncoder
(Encoder encoder) SectionEncoder
(Encoder encoder) -
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders
Modifier and TypeClassDescriptionfinal class
The default AMQP Encoder implementation.Modifier and TypeMethodDescriptionabstract void
AbstractDescribedListTypeEncoder.writeElement
(V source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) Instructs the encoder to write the element identified with the given indexabstract void
AbstractDescribedMapTypeEncoder.writeMapEntries
(ProtonBuffer buffer, Encoder encoder, EncoderState state, M value) Performs the write of the Map entries to the given buffer, the caller takes care of writing the Map preamble and tracking the final size of the written elements of the Map. -
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders.messaging
Modifier and TypeMethodDescriptionvoid
AcceptedTypeEncoder.writeElement
(Accepted source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeleteOnCloseTypeEncoder.writeElement
(DeleteOnClose source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeleteOnNoLinksOrMessagesTypeEncoder.writeElement
(DeleteOnNoLinksOrMessages source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeleteOnNoLinksTypeEncoder.writeElement
(DeleteOnNoLinks source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeleteOnNoMessagesTypeEncoder.writeElement
(DeleteOnNoMessages source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
HeaderTypeEncoder.writeElement
(Header header, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
ModifiedTypeEncoder.writeElement
(Modified source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
PropertiesTypeEncoder.writeElement
(Properties properties, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
ReceivedTypeEncoder.writeElement
(Received source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
RejectedTypeEncoder.writeElement
(Rejected source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
ReleasedTypeEncoder.writeElement
(Released source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
SourceTypeEncoder.writeElement
(Source source, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
TargetTypeEncoder.writeElement
(Target target, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
ApplicationPropertiesTypeEncoder.writeMapEntries
(ProtonBuffer buffer, Encoder encoder, EncoderState state, ApplicationProperties properties) void
DeliveryAnnotationsTypeEncoder.writeMapEntries
(ProtonBuffer buffer, Encoder encoder, EncoderState state, DeliveryAnnotations annotations) void
FooterTypeEncoder.writeMapEntries
(ProtonBuffer buffer, Encoder encoder, EncoderState state, Footer footers) void
MessageAnnotationsTypeEncoder.writeMapEntries
(ProtonBuffer buffer, Encoder encoder, EncoderState state, MessageAnnotations annotations) -
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders.security
Modifier and TypeMethodDescriptionvoid
SaslChallengeTypeEncoder.writeElement
(SaslChallenge challenge, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
SaslInitTypeEncoder.writeElement
(SaslInit init, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
SaslMechanismsTypeEncoder.writeElement
(SaslMechanisms mechanisms, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
SaslOutcomeTypeEncoder.writeElement
(SaslOutcome outcome, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
SaslResponseTypeEncoder.writeElement
(SaslResponse response, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) -
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders.transactions
Modifier and TypeMethodDescriptionvoid
CoordinatorTypeEncoder.writeElement
(Coordinator coordinator, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeclaredTypeEncoder.writeElement
(Declared declared, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DeclareTypeEncoder.writeElement
(Declare declare, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DischargeTypeEncoder.writeElement
(Discharge discharge, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
TransactionStateTypeEncoder.writeElement
(TransactionalState txState, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) -
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders.transport
Modifier and TypeMethodDescriptionvoid
AttachTypeEncoder.writeElement
(Attach attach, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
BeginTypeEncoder.writeElement
(Begin begin, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
CloseTypeEncoder.writeElement
(Close close, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DetachTypeEncoder.writeElement
(Detach detach, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
DispositionTypeEncoder.writeElement
(Disposition disposition, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
EndTypeEncoder.writeElement
(End end, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
ErrorConditionTypeEncoder.writeElement
(ErrorCondition error, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
FlowTypeEncoder.writeElement
(Flow flow, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
OpenTypeEncoder.writeElement
(Open open, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state) void
TransferTypeEncoder.writeElement
(Transfer transfer, int index, ProtonBuffer buffer, Encoder encoder, EncoderState state)