Uses of Interface
org.apache.qpid.protonj2.codec.EncoderState
-
-
Uses of EncoderState in org.apache.qpid.protonj2.client.impl
Methods in org.apache.qpid.protonj2.client.impl with parameters of type EncoderState Modifier and Type Method Description static ProtonBuffer
ClientMessageSupport. encodeMessage(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String,Object> deliveryAnnotations)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec
Methods in org.apache.qpid.protonj2.codec that return EncoderState Modifier and Type Method Description EncoderState
Encoder. getCachedEncoderState()
Return a singletonEncoderState
instance that is meant to be shared within single threaded encoder interactions.EncoderState
Encoder. newEncoderState()
Creates a newEncoderState
instance that can be used when interacting with the Encoder.EncoderState
EncoderState. reset()
Resets any intermediate state back to default values.Methods in org.apache.qpid.protonj2.codec with parameters of type EncoderState Modifier and Type Method Description void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, boolean[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, byte[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, char[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, double[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, float[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, int[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, long[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, short[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, UUID[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal128[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal32[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal64[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, Symbol[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedByte[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedInteger[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedLong[] value)
Write the given array as with the proper array type encoding to the given buffer.void
Encoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedShort[] value)
Write the given array as with the proper array type encoding to the given buffer.void
TypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
Write an array elements of the AMQP type to the given byte buffer.void
Encoder. writeBinary(ProtonBuffer buffer, EncoderState state, byte[] value)
Writes the contents of the givenbyte
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder. writeBinary(ProtonBuffer buffer, EncoderState state, ProtonBuffer value)
Writes the contents of the givenProtonBuffer
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder. writeBinary(ProtonBuffer buffer, EncoderState state, Binary value)
Writes the contents of the givenBinary
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder. writeBoolean(ProtonBuffer buffer, EncoderState state, boolean value)
Write aBoolean
type encoding to the given buffer.void
Encoder. writeBoolean(ProtonBuffer buffer, EncoderState state, Boolean value)
Write aBoolean
type encoding to the given buffer.void
Encoder. writeByte(ProtonBuffer buffer, EncoderState state, byte value)
Write aByte
type encoding to the given buffer.void
Encoder. writeByte(ProtonBuffer buffer, EncoderState state, Byte value)
Write aByte
type encoding to the given buffer.void
Encoder. writeCharacter(ProtonBuffer buffer, EncoderState state, char value)
Write aCharacter
type encoding to the given buffer.void
Encoder. writeCharacter(ProtonBuffer buffer, EncoderState state, Character value)
Write aCharacter
type encoding to the given buffer.void
Encoder. writeDecimal128(ProtonBuffer buffer, EncoderState state, Decimal128 value)
Write aDecimal128
type encoding to the given buffer.void
Encoder. writeDecimal32(ProtonBuffer buffer, EncoderState state, Decimal32 value)
Write aDecimal32
type encoding to the given buffer.void
Encoder. writeDecimal64(ProtonBuffer buffer, EncoderState state, Decimal64 value)
Write aDecimal64
type encoding to the given buffer.void
Encoder. writeDeliveryTag(ProtonBuffer buffer, EncoderState state, DeliveryTag value)
Writes the contents of the givenDeliveryTag
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder. writeDescribedType(ProtonBuffer buffer, EncoderState state, DescribedType value)
Write aDescribedType
type encoding to the given buffer.void
Encoder. writeDouble(ProtonBuffer buffer, EncoderState state, double value)
Write aDouble
type encoding to the given buffer.void
Encoder. writeDouble(ProtonBuffer buffer, EncoderState state, Double value)
Write aDouble
type encoding to the given buffer.void
Encoder. writeFloat(ProtonBuffer buffer, EncoderState state, float value)
Write aFloat
type encoding to the given buffer.void
Encoder. writeFloat(ProtonBuffer buffer, EncoderState state, Float value)
Write aFloat
type encoding to the given buffer.void
Encoder. writeInteger(ProtonBuffer buffer, EncoderState state, int value)
Write aInteger
type encoding to the given buffer.void
Encoder. writeInteger(ProtonBuffer buffer, EncoderState state, Integer value)
Write aInteger
type encoding to the given buffer.<T> void
Encoder. writeList(ProtonBuffer buffer, EncoderState state, List<T> value)
Write aList
type encoding to the given buffer.void
Encoder. writeLong(ProtonBuffer buffer, EncoderState state, long value)
Write aLong
type encoding to the given buffer.void
Encoder. writeLong(ProtonBuffer buffer, EncoderState state, Long value)
Write aLong
type encoding to the given buffer.<K,V>
voidEncoder. writeMap(ProtonBuffer buffer, EncoderState state, Map<K,V> value)
Write aMap
type encoding to the given buffer.void
Encoder. writeNull(ProtonBuffer buffer, EncoderState state)
Write a Null type encoding to the given buffer.void
Encoder. writeObject(ProtonBuffer buffer, EncoderState state, Object value)
Write the proper type encoding for the providedObject
to the given buffer if anTypeEncoder
can be found for it in the collection of registered type encoders..void
TypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
Write an array elements of the AMQP type to the given byte buffer.void
Encoder. writeShort(ProtonBuffer buffer, EncoderState state, short value)
Write aShort
type encoding to the given buffer.void
Encoder. writeShort(ProtonBuffer buffer, EncoderState state, Short value)
Write aShort
type encoding to the given buffer.void
Encoder. writeString(ProtonBuffer buffer, EncoderState state, String value)
Write aString
type encoding to the given buffer.void
Encoder. writeSymbol(ProtonBuffer buffer, EncoderState state, String value)
Write aSymbol
type encoding to the given buffer.void
Encoder. writeSymbol(ProtonBuffer buffer, EncoderState state, Symbol value)
Write aSymbol
type encoding to the given buffer.void
Encoder. writeTimestamp(ProtonBuffer buffer, EncoderState state, long value)
Write a Time stamp type encoding to the given buffer.void
Encoder. writeTimestamp(ProtonBuffer buffer, EncoderState state, Date value)
Write a Time stamp type encoding to the given buffer.void
TypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, V value)
Write the full AMQP type data to the given byte buffer.void
Encoder. writeUnsignedByte(ProtonBuffer buffer, EncoderState state, byte value)
Write anUnsignedByte
type encoding to the given buffer.void
Encoder. writeUnsignedByte(ProtonBuffer buffer, EncoderState state, UnsignedByte value)
Write anUnsignedByte
type encoding to the given buffer.void
Encoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, byte value)
Write aUnsignedInteger
type encoding to the given buffer.void
Encoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, int value)
Write aUnsignedInteger
type encoding to the given buffer.void
Encoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, long value)
Write aUnsignedInteger
type encoding to the given buffer using the provided value with appropriate range checks to ensure invalid input is not accepted.void
Encoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, UnsignedInteger value)
Write aUnsignedInteger
type encoding to the given buffer.void
Encoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, byte value)
Write aUnsignedLong
type encoding to the given buffer.void
Encoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, long value)
Write aUnsignedLong
type encoding to the given buffer.void
Encoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, UnsignedLong value)
Write aUnsignedLong
type encoding to the given buffer.void
Encoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, int value)
Write aUnsignedShort
type encoding to the given buffer using the provided value with appropriate range checks to ensure invalid input is not accepted.void
Encoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, short value)
Write aUnsignedShort
type encoding to the given buffer.void
Encoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, UnsignedShort value)
Write aUnsignedShort
type encoding to the given buffer.void
Encoder. writeUUID(ProtonBuffer buffer, EncoderState state, UUID value)
Write aUUID
type encoding to the given buffer. -
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders
Classes in org.apache.qpid.protonj2.codec.encoders that implement EncoderState Modifier and Type Class Description class
ProtonEncoderState
State object used by the Built in Encoder implementation.Methods in org.apache.qpid.protonj2.codec.encoders with parameters of type EncoderState Modifier and Type Method Description void
AbstractDescribedListTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AbstractDescribedMapTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AbstractPrimitiveTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
DeliveryTagEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, boolean[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, byte[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, char[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, double[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, float[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, int[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, long[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, short[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, UUID[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal128[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal32[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Decimal64[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Symbol[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedByte[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedInteger[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedLong[] value)
void
ProtonEncoder. writeArray(ProtonBuffer buffer, EncoderState state, UnsignedShort[] value)
void
UnknownDescribedTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] value)
void
ProtonEncoder. writeBinary(ProtonBuffer buffer, EncoderState state, byte[] value)
void
ProtonEncoder. writeBinary(ProtonBuffer buffer, EncoderState state, ProtonBuffer value)
void
ProtonEncoder. writeBinary(ProtonBuffer buffer, EncoderState state, Binary value)
void
ProtonEncoder. writeBoolean(ProtonBuffer buffer, EncoderState state, boolean value)
void
ProtonEncoder. writeBoolean(ProtonBuffer buffer, EncoderState state, Boolean value)
void
ProtonEncoder. writeByte(ProtonBuffer buffer, EncoderState state, byte value)
void
ProtonEncoder. writeByte(ProtonBuffer buffer, EncoderState state, Byte value)
void
ProtonEncoder. writeCharacter(ProtonBuffer buffer, EncoderState state, char value)
void
ProtonEncoder. writeCharacter(ProtonBuffer buffer, EncoderState state, Character value)
void
ProtonEncoder. writeDecimal128(ProtonBuffer buffer, EncoderState state, Decimal128 value)
void
ProtonEncoder. writeDecimal32(ProtonBuffer buffer, EncoderState state, Decimal32 value)
void
ProtonEncoder. writeDecimal64(ProtonBuffer buffer, EncoderState state, Decimal64 value)
void
ProtonEncoder. writeDeliveryTag(ProtonBuffer buffer, EncoderState state, DeliveryTag value)
void
ProtonEncoder. writeDescribedType(ProtonBuffer buffer, EncoderState state, DescribedType value)
void
ProtonEncoder. writeDouble(ProtonBuffer buffer, EncoderState state, double value)
void
ProtonEncoder. writeDouble(ProtonBuffer buffer, EncoderState state, Double value)
abstract void
AbstractDescribedListTypeEncoder. writeElement(V source, int index, ProtonBuffer buffer, EncoderState state)
Instructs the encoder to write the element identified with the given indexvoid
ProtonEncoder. writeFloat(ProtonBuffer buffer, EncoderState state, float value)
void
ProtonEncoder. writeFloat(ProtonBuffer buffer, EncoderState state, Float value)
void
ProtonEncoder. writeInteger(ProtonBuffer buffer, EncoderState state, int value)
void
ProtonEncoder. writeInteger(ProtonBuffer buffer, EncoderState state, Integer value)
<T> void
ProtonEncoder. writeList(ProtonBuffer buffer, EncoderState state, List<T> value)
void
ProtonEncoder. writeLong(ProtonBuffer buffer, EncoderState state, long value)
void
ProtonEncoder. writeLong(ProtonBuffer buffer, EncoderState state, Long value)
<K,V>
voidProtonEncoder. writeMap(ProtonBuffer buffer, EncoderState state, Map<K,V> value)
abstract void
AbstractDescribedMapTypeEncoder. writeMapEntries(ProtonBuffer buffer, 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.void
ProtonEncoder. writeNull(ProtonBuffer buffer, EncoderState state)
void
ProtonEncoder. writeObject(ProtonBuffer buffer, EncoderState state, Object value)
void
AbstractDescribedListTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AbstractDescribedMapTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
DeliveryTagEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UnknownDescribedTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ProtonEncoder. writeShort(ProtonBuffer buffer, EncoderState state, short value)
void
ProtonEncoder. writeShort(ProtonBuffer buffer, EncoderState state, Short value)
void
ProtonEncoder. writeString(ProtonBuffer buffer, EncoderState state, String value)
void
ProtonEncoder. writeSymbol(ProtonBuffer buffer, EncoderState state, String value)
void
ProtonEncoder. writeSymbol(ProtonBuffer buffer, EncoderState state, Symbol value)
void
ProtonEncoder. writeTimestamp(ProtonBuffer buffer, EncoderState state, long value)
void
ProtonEncoder. writeTimestamp(ProtonBuffer buffer, EncoderState state, Date value)
void
AbstractDescribedListTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, V value)
void
AbstractDescribedMapTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, M value)
void
DeliveryTagEncoder. writeType(ProtonBuffer buffer, EncoderState state, DeliveryTag value)
void
UnknownDescribedTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, DescribedType value)
void
ProtonEncoder. writeUnsignedByte(ProtonBuffer buffer, EncoderState state, byte value)
void
ProtonEncoder. writeUnsignedByte(ProtonBuffer buffer, EncoderState state, UnsignedByte value)
void
ProtonEncoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, byte value)
void
ProtonEncoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, int value)
void
ProtonEncoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, long value)
void
ProtonEncoder. writeUnsignedInteger(ProtonBuffer buffer, EncoderState state, UnsignedInteger value)
void
ProtonEncoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, byte value)
void
ProtonEncoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, long value)
void
ProtonEncoder. writeUnsignedLong(ProtonBuffer buffer, EncoderState state, UnsignedLong value)
void
ProtonEncoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, int value)
void
ProtonEncoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, short value)
void
ProtonEncoder. writeUnsignedShort(ProtonBuffer buffer, EncoderState state, UnsignedShort value)
void
ProtonEncoder. writeUUID(ProtonBuffer buffer, EncoderState state, UUID value)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders.messaging
Methods in org.apache.qpid.protonj2.codec.encoders.messaging with parameters of type EncoderState Modifier and Type Method Description void
AmqpSequenceTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AmqpValueTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
DataTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AcceptedTypeEncoder. writeElement(Accepted source, int index, ProtonBuffer buffer, EncoderState state)
void
DeleteOnCloseTypeEncoder. writeElement(DeleteOnClose source, int index, ProtonBuffer buffer, EncoderState state)
void
DeleteOnNoLinksOrMessagesTypeEncoder. writeElement(DeleteOnNoLinksOrMessages source, int index, ProtonBuffer buffer, EncoderState state)
void
DeleteOnNoLinksTypeEncoder. writeElement(DeleteOnNoLinks source, int index, ProtonBuffer buffer, EncoderState state)
void
DeleteOnNoMessagesTypeEncoder. writeElement(DeleteOnNoMessages source, int index, ProtonBuffer buffer, EncoderState state)
void
HeaderTypeEncoder. writeElement(Header header, int index, ProtonBuffer buffer, EncoderState state)
void
ModifiedTypeEncoder. writeElement(Modified source, int index, ProtonBuffer buffer, EncoderState state)
void
PropertiesTypeEncoder. writeElement(Properties properties, int index, ProtonBuffer buffer, EncoderState state)
void
ReceivedTypeEncoder. writeElement(Received source, int index, ProtonBuffer buffer, EncoderState state)
void
RejectedTypeEncoder. writeElement(Rejected source, int index, ProtonBuffer buffer, EncoderState state)
void
ReleasedTypeEncoder. writeElement(Released source, int index, ProtonBuffer buffer, EncoderState state)
void
SourceTypeEncoder. writeElement(Source source, int index, ProtonBuffer buffer, EncoderState state)
void
TargetTypeEncoder. writeElement(Target target, int index, ProtonBuffer buffer, EncoderState state)
void
ApplicationPropertiesTypeEncoder. writeMapEntries(ProtonBuffer buffer, EncoderState state, ApplicationProperties properties)
void
DeliveryAnnotationsTypeEncoder. writeMapEntries(ProtonBuffer buffer, EncoderState state, DeliveryAnnotations annotations)
void
FooterTypeEncoder. writeMapEntries(ProtonBuffer buffer, EncoderState state, Footer footers)
void
MessageAnnotationsTypeEncoder. writeMapEntries(ProtonBuffer buffer, EncoderState state, MessageAnnotations annotations)
void
AmqpSequenceTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AmqpValueTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
DataTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
AcceptedTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Accepted value)
void
AmqpSequenceTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, AmqpSequence value)
void
AmqpValueTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, AmqpValue value)
void
DataTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Data value)
void
ReleasedTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Released value)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders.primitives
Methods in org.apache.qpid.protonj2.codec.encoders.primitives with parameters of type EncoderState Modifier and Type Method Description void
ArrayTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
BooleanTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, boolean[] values)
Write the full AMQP type data for the boolean array to the given byte buffer.void
ByteTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, byte[] values)
void
CharacterTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, char[] values)
void
DoubleTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, double[] values)
void
FloatTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, float[] values)
void
IntegerTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, int[] values)
void
LongTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, long[] values)
void
NullTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, Object[] value)
void
ShortTypeEncoder. writeArray(ProtonBuffer buffer, EncoderState state, short[] values)
void
ArrayTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
BinaryTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
BooleanTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, boolean[] values)
Write the AMQP type data to the given byte buffer without an type encoding metadatavoid
BooleanTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ByteTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, byte[] values)
void
ByteTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
CharacterTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, char[] values)
void
CharacterTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
Decimal128TypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
Decimal32TypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
Decimal64TypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
DoubleTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, double[] values)
void
DoubleTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
FloatTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, float[] values)
void
FloatTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
IntegerTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, int[] values)
void
IntegerTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ListTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
LongTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, long[] values)
void
LongTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
MapTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
NullTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ShortTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, short[] values)
void
ShortTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
StringTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
SymbolTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
TimestampTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UnsignedByteTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UnsignedIntegerTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UnsignedLongTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UnsignedShortTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
UUIDTypeEncoder. writeRawArray(ProtonBuffer buffer, EncoderState state, Object[] values)
void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, boolean[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, char[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, double[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, float[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, int[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, long[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, short[] value)
Encodes the given array into the provided buffer for transmission.void
ArrayTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Object value)
void
BinaryTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte[] value)
Shortcut API that allows abyte[]
to be directly encoded as an AMQP Binary type without the need to create aBinary
instance.void
BinaryTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, ProtonBuffer value)
Shortcut API that allows aProtonBuffer
to be directly encoded as an AMQP Binary type without the need to create aBinary
instance.void
BinaryTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Binary value)
void
BooleanTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, boolean value)
Write the full AMQP type data for the boolean to the given byte buffer.void
BooleanTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Boolean value)
void
ByteTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte value)
Write the full AMQP type data for the byte to the given byte buffer.void
ByteTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Byte value)
void
CharacterTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Character value)
void
Decimal128TypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Decimal128 value)
void
Decimal32TypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Decimal32 value)
void
Decimal64TypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Decimal64 value)
void
DoubleTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, double value)
Write the full AMQP type data for the double to the given byte buffer.void
DoubleTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Double value)
void
FloatTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, float value)
Write the full AMQP type data for the float to the given byte buffer.void
FloatTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Float value)
void
IntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, int value)
Write the full AMQP type data for the int to the given byte buffer.void
IntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Integer value)
void
ListTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, List value)
void
LongTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, long value)
Write the full AMQP type data for the long to the given byte buffer.void
LongTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Long value)
void
MapTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Map value)
void
NullTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Void value)
void
ShortTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, short value)
Write the full AMQP type data for the short to the given byte buffer.void
ShortTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Short value)
void
StringTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, String value)
void
SymbolTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Symbol value)
void
TimestampTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, long value)
Write the full AMQP type data for the time-stamp to the given byte buffer.void
TimestampTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, Date value)
void
UnsignedByteTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte value)
Write the full AMQP type data for the byte to the given byte buffer.void
UnsignedByteTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, UnsignedByte value)
void
UnsignedIntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte value)
Write the full AMQP type data for the unsigned int to the given byte buffer.void
UnsignedIntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, int value)
Write the full AMQP type data for the unsigned int to the given byte buffer.void
UnsignedIntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, long value)
Write the full AMQP type data for the unsigned integer to the given byte buffer.void
UnsignedIntegerTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, UnsignedInteger value)
void
UnsignedLongTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, byte value)
Write the full AMQP type data for the unsigned long to the given byte buffer.void
UnsignedLongTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, long value)
Write the full AMQP type data for the unsigned long to the given byte buffer.void
UnsignedLongTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, UnsignedLong value)
void
UnsignedShortTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, int value)
Write the full AMQP type data for the unsigned short to the given byte buffer.void
UnsignedShortTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, short value)
Write the full AMQP type data for the unsigned short to the given byte buffer.void
UnsignedShortTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, UnsignedShort value)
void
UUIDTypeEncoder. writeType(ProtonBuffer buffer, EncoderState state, UUID value)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders.security
Methods in org.apache.qpid.protonj2.codec.encoders.security with parameters of type EncoderState Modifier and Type Method Description void
SaslChallengeTypeEncoder. writeElement(SaslChallenge challenge, int index, ProtonBuffer buffer, EncoderState state)
void
SaslInitTypeEncoder. writeElement(SaslInit init, int index, ProtonBuffer buffer, EncoderState state)
void
SaslMechanismsTypeEncoder. writeElement(SaslMechanisms mechanisms, int index, ProtonBuffer buffer, EncoderState state)
void
SaslOutcomeTypeEncoder. writeElement(SaslOutcome outcome, int index, ProtonBuffer buffer, EncoderState state)
void
SaslResponseTypeEncoder. writeElement(SaslResponse response, int index, ProtonBuffer buffer, EncoderState state)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders.transactions
Methods in org.apache.qpid.protonj2.codec.encoders.transactions with parameters of type EncoderState Modifier and Type Method Description void
CoordinatorTypeEncoder. writeElement(Coordinator coordinator, int index, ProtonBuffer buffer, EncoderState state)
void
DeclaredTypeEncoder. writeElement(Declared declared, int index, ProtonBuffer buffer, EncoderState state)
void
DeclareTypeEncoder. writeElement(Declare declare, int index, ProtonBuffer buffer, EncoderState state)
void
DischargeTypeEncoder. writeElement(Discharge discharge, int index, ProtonBuffer buffer, EncoderState state)
void
TransactionStateTypeEncoder. writeElement(TransactionalState txState, int index, ProtonBuffer buffer, EncoderState state)
-
Uses of EncoderState in org.apache.qpid.protonj2.codec.encoders.transport
Methods in org.apache.qpid.protonj2.codec.encoders.transport with parameters of type EncoderState Modifier and Type Method Description void
AttachTypeEncoder. writeElement(Attach attach, int index, ProtonBuffer buffer, EncoderState state)
void
BeginTypeEncoder. writeElement(Begin begin, int index, ProtonBuffer buffer, EncoderState state)
void
CloseTypeEncoder. writeElement(Close close, int index, ProtonBuffer buffer, EncoderState state)
void
DetachTypeEncoder. writeElement(Detach detach, int index, ProtonBuffer buffer, EncoderState state)
void
DispositionTypeEncoder. writeElement(Disposition disposition, int index, ProtonBuffer buffer, EncoderState state)
void
EndTypeEncoder. writeElement(End end, int index, ProtonBuffer buffer, EncoderState state)
void
ErrorConditionTypeEncoder. writeElement(ErrorCondition error, int index, ProtonBuffer buffer, EncoderState state)
void
FlowTypeEncoder. writeElement(Flow flow, int index, ProtonBuffer buffer, EncoderState state)
void
OpenTypeEncoder. writeElement(Open open, int index, ProtonBuffer buffer, EncoderState state)
void
TransferTypeEncoder. writeElement(Transfer transfer, int index, ProtonBuffer buffer, EncoderState state)
-