Uses of Interface
org.apache.qpid.protonj2.codec.Encoder
-
-
Uses of Encoder in org.apache.qpid.protonj2.client.impl
Methods in org.apache.qpid.protonj2.client.impl with parameters of type Encoder Modifier and Type Method Description static 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
Methods in org.apache.qpid.protonj2.codec that return Encoder Modifier and Type Method Description static Encoder
CodecFactory. getDefaultEncoder()
static Encoder
CodecFactory. getDefaultSaslEncoder()
static Encoder
CodecFactory. getEncoder()
Encoder
EncoderState. getEncoder()
Encoder
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.Methods in org.apache.qpid.protonj2.codec with parameters of type Encoder Modifier and Type Method Description default 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()
.Constructors in org.apache.qpid.protonj2.codec with parameters of type Encoder Constructor Description PerformativeEncoder(Encoder encoder)
SectionEncoder(Encoder encoder)
-
Uses of Encoder in org.apache.qpid.protonj2.codec.encoders
Classes in org.apache.qpid.protonj2.codec.encoders that implement Encoder Modifier and Type Class Description class
ProtonEncoder
The default AMQP Encoder implementation.Methods in org.apache.qpid.protonj2.codec.encoders with parameters of type Encoder Modifier and Type Method Description abstract 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
Methods in org.apache.qpid.protonj2.codec.encoders.messaging with parameters of type Encoder Modifier and Type Method Description void
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
Methods in org.apache.qpid.protonj2.codec.encoders.security with parameters of type Encoder Modifier and Type Method Description void
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
Methods in org.apache.qpid.protonj2.codec.encoders.transactions with parameters of type Encoder Modifier and Type Method Description void
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
Methods in org.apache.qpid.protonj2.codec.encoders.transport with parameters of type Encoder Modifier and Type Method Description void
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)
-