Uses of Interface
org.apache.qpid.protonj2.buffer.ProtonBuffer
Package
Description
-
Uses of ProtonBuffer in org.apache.qpid.protonj2.buffer
Modifier and TypeInterfaceDescriptioninterface
Defines the API for a specialized buffer type that is a composite of other buffer instances which is presented as a single buffer view.Modifier and TypeMethodDescriptiondefault ProtonBuffer
ProtonBuffer.advanceReadOffset
(int length) Adjusts the currentgetReadOffset()
of this buffer by the specifiedlength
.default ProtonBuffer
ProtonBuffer.advanceWriteOffset
(int length) Adjusts the currentgetWriteOffset()
of this buffer by the specifiedlength
.ProtonBufferAllocator.allocate()
Create a new ProtonBuffer instance with default initial capacity.ProtonBufferAllocator.allocate
(int initialCapacity) Create a new ProtonBuffer instance with the given initial capacity and the implicit growth limit should be that of the underlying buffer implementations maximum capacity limit.ProtonBufferAllocator.allocateHeapBuffer()
Create a new ProtonBuffer instance with default initial capacity.ProtonBufferAllocator.allocateHeapBuffer
(int initialCapacity) Create a new ProtonBuffer instance with the given initial capacity and the implicit growth limit should be that of the underlying buffer implementations maximum capacity limit.default ProtonBuffer
ProtonBuffer.clear()
Reset the read and write offsets to zero.ProtonBuffer.compact()
Moves the readable portion of the buffer to the beginning of the underlying buffer storage and possibly makes additional bytes available for writes before a buffer expansion would occur via anensureWritable(int)
call.ProtonBuffer.convertToReadOnly()
Converts this buffer instance to a read-only buffer, any write operation that is performed on this buffer following this call will fail.default ProtonBuffer
ProtonBuffer.copy()
Create a deep copy of the readable bytes of this ProtonBuffer, the returned buffer can be modified without affecting the contents or position markers of this instance.default ProtonBuffer
ProtonBuffer.copy
(boolean readOnly) Returns a copy of this buffer's readable bytes and sets the read-only state of the returned buffer based on the value of the read-only flag.default ProtonBuffer
ProtonBuffer.copy
(int index, int length) Returns a copy of this buffer's sub-region.ProtonBuffer.copy
(int index, int length, boolean readOnly) Returns a copy of this buffer's sub-region.default ProtonBuffer
ProtonBufferAllocator.copy
(byte[] array) Create a new ProtonBuffer that copies the given byte array.ProtonBufferAllocator.copy
(byte[] array, int offset, int length) Create a new ProtonBuffer that copies the given byte array using the provided offset and length values to confine the view of that array.default ProtonBuffer
ProtonBuffer.ensureWritable
(int amount) Ensures that the requested number of bytes is available for write operations in the current buffer, growing the buffer if needed to meet the requested writable capacity.ProtonBuffer.ensureWritable
(int amount, int minimumGrowth, boolean allowCompaction) Ensures that the requested number of bytes is available for write operations in the current buffer, growing the buffer if needed to meet the requested writable capacity.ProtonBuffer.fill
(byte value) Assigns the given value to every byte in the buffer without respect for the buffer read or write offsets.ProtonBuffer.implicitGrowthLimit
(int limit) Configures the limit assigned to this buffer if one was set which controls how large the capacity of the buffer can grow implicitly via write calls.ProtonBufferAllocator.outputBuffer
(int initialCapacity) Create a new output ProtonBuffer instance with the given initial capacity and the implicit growth capacity should be that of the underlying buffer implementations limit.default ProtonBuffer
ProtonBuffer.readBytes
(byte[] destination, int offset, int length) Read from this buffer, into the destination array, the given number of bytes.default ProtonBuffer
ProtonBuffer.readBytes
(ByteBuffer destination) Read from this buffer, into the destinationByteBuffer
This updates the read offset of this buffer and also the position of the destinationByteBuffer
.default ProtonBuffer
ProtonBuffer.readSplit
(int length) Splits this buffer at the read offset + the length given.default ProtonBuffer
ProtonBufferAccessors.setBoolean
(int index, boolean value) Sets the boolean value at the given write index in this buffer's backing data store.ProtonBufferAccessors.setByte
(int index, byte value) Sets the byte value at the given write index in this buffer's backing data store.ProtonBufferAccessors.setChar
(int index, char value) Sets the char value at the given write index in this buffer's backing data store.default ProtonBuffer
ProtonBufferAccessors.setDouble
(int index, double value) Sets the double value at the given write index in this buffer's backing data store.default ProtonBuffer
ProtonBufferAccessors.setFloat
(int index, float value) Sets the float value at the given write index in this buffer's backing data store.ProtonBufferAccessors.setInt
(int index, int value) Sets the int value at the given write index in this buffer's backing data store.ProtonBufferAccessors.setLong
(int index, long value) Sets the long value at the given write index in this buffer's backing data store.ProtonBuffer.setReadOffset
(int value) Sets the read offset for this buffer.ProtonBufferAccessors.setShort
(int index, short value) Sets the short value at the given write index in this buffer's backing data store.default ProtonBuffer
ProtonBufferAccessors.setUnsignedByte
(int index, int value) Sets the unsigned byte value at the given write index in this buffer's backing data store.default ProtonBuffer
ProtonBufferAccessors.setUnsignedInt
(int index, long value) Sets the long value at the given write index in this buffer's backing data store.default ProtonBuffer
ProtonBufferAccessors.setUnsignedShort
(int index, int value) Sets the short value at the given write index in this buffer's backing data store.ProtonBuffer.setWriteOffset
(int value) Sets the write offset for this buffer.default ProtonBuffer
ProtonBuffer.split()
Splits this buffer at the write offset.ProtonBuffer.split
(int splitOffset) Splits this buffer at the given offset.default ProtonBuffer
ProtonBufferAccessors.writeBoolean
(boolean value) Writes a single boolean to the buffer and advances the write index by one.ProtonBufferAccessors.writeByte
(byte value) Writes a single byte to the buffer and advances the write index by one.default ProtonBuffer
ProtonBuffer.writeBytes
(byte[] source) Writes into this buffer, all the bytes from the given byte array.default ProtonBuffer
ProtonBuffer.writeBytes
(byte[] source, int offset, int length) Writes into this buffer, the given number of bytes from the byte array.default ProtonBuffer
ProtonBuffer.writeBytes
(ByteBuffer source) Writes into this buffer from the sourceByteBuffer
.default ProtonBuffer
ProtonBuffer.writeBytes
(ProtonBuffer source) Writes into this buffer, all the readable bytes from the given buffer.ProtonBufferAccessors.writeChar
(char value) Writes a single character to the buffer and advances the write index by four.default ProtonBuffer
ProtonBuffer.writeCharSequence
(CharSequence source, Charset charset) Writes into this buffer, all the bytes from the givensource
using the passedcharset
.default ProtonBuffer
ProtonBufferAccessors.writeDouble
(double value) Writes a single double to the buffer and advances the write index by eight.default ProtonBuffer
ProtonBufferAccessors.writeFloat
(float value) Writes a single float to the buffer and advances the write index by four.ProtonBufferAccessors.writeInt
(int value) Writes a single integer to the buffer and advances the write index by four.ProtonBufferAccessors.writeLong
(long value) Writes a single long to the buffer and advances the write index by eight.ProtonBufferAccessors.writeShort
(short value) Writes a single short to the buffer and advances the write index by two.default ProtonBuffer
ProtonBuffer.writeSplit
(int length) Splits this buffer at the write offset + the length given.default ProtonBuffer
ProtonBufferAccessors.writeUnsignedByte
(int value) Writes a single byte to the buffer and advances the write index by one.default ProtonBuffer
ProtonBufferAccessors.writeUnsignedInt
(long value) Writes a single unsigned int to the buffer and advances the write index by four.default ProtonBuffer
ProtonBufferAccessors.writeUnsignedShort
(int value) Writes a single short to the buffer using the input integer value and advances the write index by two.Modifier and TypeMethodDescriptionProtonCompositeBuffer.decomposeBuffer()
Splits the composite buffer up into a collection of buffers that comprise it and leaves this buffer in what is effectively a closed state.Modifier and TypeMethodDescriptionProtonCompositeBuffer.append
(ProtonBuffer buffer) Appends the given buffer to this composite buffer if all the constraints on buffer composites are met, otherwise thrown an exception.static void
ProtonBufferUtils.checkIsClosed
(ProtonBuffer buffer) Checks the given ProtonBuffer to see if it has already been closed.static void
ProtonBufferUtils.checkIsReadOnly
(ProtonBuffer buffer) Checks the given ProtonBuffer to see if it has already been closed.static int
ProtonBufferUtils.compare
(ProtonBuffer lhs, ProtonBuffer rhs) Compares twoProtonBuffer
instances.default int
ProtonBuffer.compareTo
(ProtonBuffer buffer) Compares the remaining content of the current buffer with the remaining content of the given buffer, which must not be null.ProtonBufferAllocator.composite
(ProtonBuffer buffer) Creates a new composite buffer instance that uses this allocator to create new backing space when the buffer writes exceed capacity or the ensure writable space API is used.ProtonBufferAllocator.composite
(ProtonBuffer[] buffers) Creates a new composite buffer instance that uses this allocator to create new backing space when the buffer writes exceed capacity or the ensure writable space API is used.void
ProtonBuffer.copyInto
(int offset, ProtonBuffer destination, int destOffset, int length) Copies the given number of bytes from this buffer into the specified targetProtonBuffer
starting at the given offset into this buffer.static CharSequence
ProtonBufferUtils.copyToCharSequence
(ProtonBuffer source, int offset, int length, Charset charset) Copies the given length number of bytes from the provided buffer and returns aCharSequence
that is comprised of the characters of that sequence using the providedCharset
to make the transformation.static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an composite buffer with the given buffer instance as the initial buffer payload.static ProtonCompositeBuffer
ProtonCompositeBuffer.create
(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an composite buffer with the given array of buffers as the initial buffer payload.static boolean
ProtonBufferUtils.equals
(ProtonBuffer left, int leftStartIndex, ProtonBuffer right, int rightStartIndex, int length) Compares twoProtonBuffer
instances for equality.static boolean
ProtonBufferUtils.equals
(ProtonBuffer left, ProtonBuffer right) Compares twoProtonBuffer
instances for equality.static boolean
ProtonBufferUtils.equals
(ProtonBuffer left, ProtonBuffer right, int length) Compares twoProtonBuffer
instances for equality.static ProtonBufferClosedException
ProtonBufferUtils.genericBufferIsClosed
(ProtonBuffer buffer) ProtonBufferUtils.genericBufferIsReadOnly
(ProtonBuffer buffer) static IndexOutOfBoundsException
ProtonBufferUtils.genericOutOfBounds
(ProtonBuffer buffer, int index) static int
ProtonBufferUtils.hashCode
(ProtonBuffer buffer) Compute a hash code from the givenProtonBuffer
.static boolean
ProtonCompositeBuffer.isComposite
(ProtonBuffer buffer) Checks if the given buffer is an composite buffer instance or not.static CharSequence
ProtonBufferUtils.readCharSequence
(ProtonBuffer source, int length, Charset charset) Reads aCharSequence
from the givenProtonBuffer
advancing the read offset by the length value provided.static Cleaner.Cleanable
ProtonBufferUtils.registerCleanup
(Object observed, ProtonBuffer buffer) Register a cleanup watch on the given object which is related to theProtonBuffer
provided and ensure that if the object does not close the buffer by the time it becomes unreachable that the buffer is closed.static byte[]
ProtonBufferUtils.toByteArray
(ProtonBuffer buffer) Given aProtonBuffer
returns an array containing a deep copy of the readable bytes from the provided buffer.static ByteBuffer
ProtonBufferUtils.toByteBuffer
(ProtonBuffer buffer) Given aProtonBuffer
returns anByteBuffer
containing a copy of the readable bytes from the provided buffer.static String
ProtonBufferUtils.toString
(ProtonBuffer buffer, Charset charset) Create a new String that is a copy of the boffer's readable bytes and is defined by theCharset
provided.default ProtonBuffer
ProtonBuffer.writeBytes
(ProtonBuffer source) Writes into this buffer, all the readable bytes from the given buffer.default ProtonCompositeBuffer
ProtonCompositeBuffer.writeBytes
(ProtonBuffer source) ModifierConstructorDescriptionProtonBufferInputStream
(ProtonBuffer buffer) Creates a newInputStream
instance that wraps the givenProtonBuffer
and assumes ownership.ProtonBufferOutputStream
(ProtonBuffer buffer) Create a newOutputStream
which wraps the given buffer. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.buffer.impl
Modifier and TypeClassDescriptionfinal class
An array based buffer implementation.final class
The built in composite buffer implementation.Modifier and TypeMethodDescriptionProtonByteArrayBufferAllocator.allocate()
ProtonByteArrayBufferAllocator.allocate
(int initialCapacity) ProtonByteArrayBufferAllocator.allocateHeapBuffer()
ProtonByteArrayBufferAllocator.allocateHeapBuffer
(int initialCapacity) ProtonByteArrayBuffer.compact()
ProtonByteArrayBuffer.copy
(int offset, int length, boolean readOnly) ProtonByteArrayBufferAllocator.copy
(byte[] array, int offset, int length) ProtonByteArrayBuffer.ensureWritable
(int size, int minimumGrowth, boolean allowCompaction) ProtonByteArrayBuffer.fill
(byte value) ProtonByteArrayBuffer.implicitGrowthLimit
(int limit) ProtonByteArrayBufferAllocator.outputBuffer
(int initialCapacity) ProtonByteArrayBuffer.readBytes
(byte[] destination, int offset, int length) ProtonByteArrayBuffer.readBytes
(ByteBuffer destination) ProtonByteArrayBuffer.setByte
(int index, byte value) ProtonCompositeBufferImpl.setByte
(int index, byte value) ProtonByteArrayBuffer.setChar
(int index, char value) ProtonCompositeBufferImpl.setChar
(int index, char value) ProtonByteArrayBuffer.setInt
(int index, int value) ProtonCompositeBufferImpl.setInt
(int index, int value) ProtonByteArrayBuffer.setLong
(int index, long value) ProtonCompositeBufferImpl.setLong
(int index, long value) ProtonByteArrayBuffer.setReadOffset
(int value) ProtonByteArrayBuffer.setShort
(int index, short value) ProtonCompositeBufferImpl.setShort
(int index, short value) ProtonByteArrayBuffer.setWriteOffset
(int value) ProtonByteArrayBuffer.split
(int splitOffset) protected ProtonBuffer
ProtonByteArrayBuffer.transferTheResource()
protected ProtonBuffer
ProtonCompositeBufferImpl.transferTheResource()
ProtonByteArrayBuffer.unwrap()
ProtonByteArrayBufferAllocator.wrap
(byte[] array, int offset, int length) Shallow copy of the given array segment used when the caller knows that they will not share the bytes wrapped with any other application code.static ProtonBuffer
ProtonByteArrayBufferAllocator.wrapped
(byte[] array) Shallow copy of the given array segment used when the caller knows that they will not share the bytes wrapped with any other application code.static ProtonBuffer
ProtonByteArrayBufferAllocator.wrapped
(byte[] array, int offset, int length) Shallow copy of the given array segment used when the caller knows that they will not share the bytes wrapped with any other application code.ProtonByteArrayBuffer.writeByte
(byte value) ProtonCompositeBufferImpl.writeByte
(byte value) ProtonByteArrayBuffer.writeBytes
(byte[] source, int offset, int length) ProtonByteArrayBuffer.writeBytes
(ProtonBuffer source) ProtonByteArrayBuffer.writeChar
(char value) ProtonCompositeBufferImpl.writeChar
(char value) ProtonByteArrayBuffer.writeInt
(int value) ProtonCompositeBufferImpl.writeInt
(int value) ProtonByteArrayBuffer.writeLong
(long value) ProtonCompositeBufferImpl.writeLong
(long value) ProtonByteArrayBuffer.writeShort
(short value) ProtonCompositeBufferImpl.writeShort
(short value) Modifier and TypeMethodDescriptionProtonCompositeBufferImpl.append
(ProtonBuffer buffer) ProtonByteArrayBufferAllocator.composite
(ProtonBuffer buffer) ProtonByteArrayBufferAllocator.composite
(ProtonBuffer[] buffers) void
ProtonByteArrayBuffer.copyInto
(int offset, ProtonBuffer destination, int destOffset, int length) void
ProtonCompositeBufferImpl.copyInto
(int offset, ProtonBuffer destination, int destOffset, int length) static ProtonCompositeBuffer
ProtonCompositeBufferImpl.create
(ProtonBufferAllocator allocator, ProtonBuffer buffer) Create an emptyProtonCompositeBuffer
with the given allocator which will be used any time the buffer needs to allocate additional storage space for implicit write or explicit ensure writable calls.static ProtonCompositeBuffer
ProtonCompositeBufferImpl.create
(ProtonBufferAllocator allocator, ProtonBuffer[] buffers) Create an emptyProtonCompositeBuffer
with the given allocator which will be used any time the buffer needs to allocate additional storage space for implicit write or explicit ensure writable calls.ProtonByteArrayBuffer.writeBytes
(ProtonBuffer source) ProtonCompositeBufferImpl.writeBytes
(ProtonBuffer source) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.buffer.netty
Modifier and TypeClassDescriptionfinal class
Wrapper class for Netty 4 ByteBuf instances which provides a generic way for proton to interact with Netty 4 buffers.final class
Wrapper class for Netty 5 Buffer instances which provides a generic way for proton to interact with Netty 4 buffers.Modifier and TypeMethodDescriptionNetty4ToProtonBufferAdapter.compact()
Netty5ToProtonBufferAdapter.compact()
Netty4ToProtonBufferAdapter.convertToReadOnly()
Netty5ToProtonBufferAdapter.convertToReadOnly()
Netty4ToProtonBufferAdapter.copy
(int index, int length, boolean readOnly) Netty5ToProtonBufferAdapter.copy
(int index, int length, boolean readOnly) Netty4ToProtonBufferAdapter.ensureWritable
(int size, int minimumGrowth, boolean allowCompaction) Netty5ToProtonBufferAdapter.ensureWritable
(int size, int minimumGrowth, boolean allowCompaction) Netty4ToProtonBufferAdapter.fill
(byte value) Netty5ToProtonBufferAdapter.fill
(byte value) Netty4ToProtonBufferAdapter.implicitGrowthLimit
(int limit) Netty5ToProtonBufferAdapter.implicitGrowthLimit
(int limit) Netty4ToProtonBufferAdapter.readBytes
(byte[] destination, int offset, int length) Netty4ToProtonBufferAdapter.readBytes
(ByteBuffer destination) Netty4ToProtonBufferAdapter.setByte
(int index, byte value) Netty5ToProtonBufferAdapter.setByte
(int index, byte value) Netty4ToProtonBufferAdapter.setChar
(int index, char value) Netty5ToProtonBufferAdapter.setChar
(int index, char value) Netty4ToProtonBufferAdapter.setInt
(int index, int value) Netty5ToProtonBufferAdapter.setInt
(int index, int value) Netty4ToProtonBufferAdapter.setLong
(int index, long value) Netty5ToProtonBufferAdapter.setLong
(int index, long value) Netty4ToProtonBufferAdapter.setReadOffset
(int value) Netty5ToProtonBufferAdapter.setReadOffset
(int value) Netty4ToProtonBufferAdapter.setShort
(int index, short value) Netty5ToProtonBufferAdapter.setShort
(int index, short value) Netty4ToProtonBufferAdapter.setWriteOffset
(int value) Netty5ToProtonBufferAdapter.setWriteOffset
(int value) Netty4ToProtonBufferAdapter.split
(int splitOffset) Netty5ToProtonBufferAdapter.split
(int splitOffset) protected ProtonBuffer
Netty4ToProtonBufferAdapter.transferTheResource()
protected ProtonBuffer
Netty5ToProtonBufferAdapter.transferTheResource()
Netty4ToProtonBufferAdapter.writeByte
(byte value) Netty5ToProtonBufferAdapter.writeByte
(byte value) Netty4ToProtonBufferAdapter.writeBytes
(byte[] source, int offset, int length) Netty4ToProtonBufferAdapter.writeBytes
(ByteBuffer source) Netty4ToProtonBufferAdapter.writeBytes
(ProtonBuffer source) Netty5ToProtonBufferAdapter.writeBytes
(byte[] source, int offset, int length) Netty5ToProtonBufferAdapter.writeBytes
(ByteBuffer source) Netty4ToProtonBufferAdapter.writeChar
(char value) Netty5ToProtonBufferAdapter.writeChar
(char value) Netty4ToProtonBufferAdapter.writeInt
(int value) Netty5ToProtonBufferAdapter.writeInt
(int value) Netty4ToProtonBufferAdapter.writeLong
(long value) Netty5ToProtonBufferAdapter.writeLong
(long value) Netty4ToProtonBufferAdapter.writeShort
(short value) Netty5ToProtonBufferAdapter.writeShort
(short value) Modifier and TypeMethodDescriptionint
Netty4ToProtonBufferAdapter.compareTo
(ProtonBuffer buffer) int
Netty5ToProtonBufferAdapter.compareTo
(ProtonBuffer buffer) Netty4ProtonBufferAllocator.composite
(ProtonBuffer buffer) Netty4ProtonBufferAllocator.composite
(ProtonBuffer[] buffers) Netty5ProtonBufferAllocator.composite
(ProtonBuffer buffer) Netty5ProtonBufferAllocator.composite
(ProtonBuffer[] buffers) void
Netty4ToProtonBufferAdapter.copyInto
(int offset, ProtonBuffer destination, int destOffset, int length) void
Netty5ToProtonBufferAdapter.copyInto
(int offset, ProtonBuffer destination, int destOffset, int length) Netty4ToProtonBufferAdapter.writeBytes
(ProtonBuffer source) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptiondefault ProtonBuffer
Encodes theAdvancedMessage
for transmission by the client.AdvancedMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) Encodes theAdvancedMessage
for transmission by the client. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.client.impl
Modifier and TypeMethodDescriptionClientMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) ClientStreamReceiverMessage.encode
(Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBuffer
ClientMessageSupport.encodeMessage
(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBuffer
ClientMessageSupport.encodeMessage
(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) 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) static ProtonBuffer
ClientMessageSupport.encodeSection
(Section<?> section, ProtonBuffer buffer) ClientStreamSender.ClientOutgoingEnvelope.payload()
Modifier and TypeMethodDescriptionstatic Message<?>
ClientMessageSupport.decodeMessage
(ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) static Message<?>
ClientMessageSupport.decodeMessage
(Decoder decoder, ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) static Message<?>
ClientMessageSupport.decodeMessage
(Decoder decoder, DecoderState decoderState, ProtonBuffer buffer, Consumer<DeliveryAnnotations> daConsumer) static ProtonBuffer
ClientMessageSupport.encodeSection
(Section<?> section, ProtonBuffer buffer) ModifierConstructorDescriptionClientOutgoingEnvelope
(ClientStreamSender sender, OutgoingDelivery delivery, int messageFormat, ProtonBuffer payload, boolean complete, ClientFuture<StreamTracker> request) Create a new In-flight Send instance that is a continuation on an existing delivery. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.client.transport
Modifier and TypeMethodDescriptionvoid
TransportListener.transportRead
(ProtonBuffer incoming) Called when new incoming data has become available for processing by theTransport
user.Transport.write
(ProtonBuffer output) Writes a chunk of data over the Transport connection without performing an explicit flush on the transport.Transport.write
(ProtonBuffer output, Runnable ioComplete) Writes a chunk of data over the Transport connection without performing an explicit flush on the transport.Transport.writeAndFlush
(ProtonBuffer output) Writes a chunk of data over the Transport connection and requests a flush of all pending queued write operationsTransport.writeAndFlush
(ProtonBuffer output, Runnable ioComplete) Writes a chunk of data over the Transport connection and requests a flush of all pending queued write operations -
Uses of ProtonBuffer in org.apache.qpid.protonj2.client.transport.netty4
Modifier and TypeMethodDescriptionprotected final io.netty.buffer.ByteBuf
TcpTransport.toOutputBuffer
(ProtonBuffer output) TcpTransport.write
(ProtonBuffer output) TcpTransport.write
(ProtonBuffer output, Runnable onComplete) WebSocketTransport.write
(ProtonBuffer output, Runnable onComplete) TcpTransport.writeAndFlush
(ProtonBuffer output) TcpTransport.writeAndFlush
(ProtonBuffer output, Runnable onComplete) WebSocketTransport.writeAndFlush
(ProtonBuffer output, Runnable onComplete) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.client.transport.netty5
Modifier and TypeMethodDescriptionTcpTransport.write
(ProtonBuffer output) TcpTransport.write
(ProtonBuffer output, Runnable onComplete) TcpTransport.writeAndFlush
(ProtonBuffer output) TcpTransport.writeAndFlush
(ProtonBuffer output, Runnable onComplete) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec
Modifier and TypeMethodDescriptionEncoderState.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) Encodes the given sequence of characters in UTF8 to the given buffer.Decoder.readBinaryAsBuffer
(ProtonBuffer buffer, DecoderState state) Reads an encodedBinary
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.StreamDecoder.readBinaryAsBuffer
(InputStream stream, StreamDecoderState state) Reads an encodedBinary
value from the givenInputStream
assuming that the next value in the byte stream is that type.Modifier and TypeMethodDescriptionDecoderState.decodeUTF8
(ProtonBuffer buffer, int length) Given a set of UTF-8 encoded bytes decode and return the String that represents that UTF-8 value.EncoderState.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) Encodes the given sequence of characters in UTF8 to the given buffer.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) TypeDecoder<?>
Decoder.peekNextTypeDecoder
(ProtonBuffer buffer, DecoderState state) Peeks ahead in the givenProtonBuffer
instance and returns aTypeDecoder
that can read the next encoded AMQP type from the buffer's bytes.V[]
TypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Reads a series of this type that have been encoded into the body of an Array type.Decoder.readBinary
(ProtonBuffer buffer, DecoderState state) Reads an encodedBinary
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readBinaryAsBuffer
(ProtonBuffer buffer, DecoderState state) Reads an encodedBinary
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readBoolean
(ProtonBuffer buffer, DecoderState state) Reads an encodedBoolean
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.boolean
Decoder.readBoolean
(ProtonBuffer buffer, DecoderState state, boolean defaultValue) Reads an encodedByte
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readByte
(ProtonBuffer buffer, DecoderState state) Reads an encodedByte
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.byte
Decoder.readByte
(ProtonBuffer buffer, DecoderState state, byte defaultValue) Reads an encodedByte
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readCharacter
(ProtonBuffer buffer, DecoderState state) Reads an encodedCharacter
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.char
Decoder.readCharacter
(ProtonBuffer buffer, DecoderState state, char defaultValue) Reads an encodedCharacter
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readDecimal128
(ProtonBuffer buffer, DecoderState state) Reads an encodedDecimal128
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readDecimal32
(ProtonBuffer buffer, DecoderState state) Reads an encodedDecimal32
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readDecimal64
(ProtonBuffer buffer, DecoderState state) Reads an encodedDecimal64
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readDeliveryTag
(ProtonBuffer buffer, DecoderState state) This method expects to read aBinary
encoded type from the provided buffer and constructs aDeliveryTag
type that wraps the bytes encoded.Decoder.readDouble
(ProtonBuffer buffer, DecoderState state) Reads an encodedDouble
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.double
Decoder.readDouble
(ProtonBuffer buffer, DecoderState state, double defaultValue) Reads an encodedDouble
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readFloat
(ProtonBuffer buffer, DecoderState state) Reads an encodedFloat
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.float
Decoder.readFloat
(ProtonBuffer buffer, DecoderState state, float defaultValue) Reads an encodedFloat
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readInteger
(ProtonBuffer buffer, DecoderState state) Reads an encodedInteger
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.int
Decoder.readInteger
(ProtonBuffer buffer, DecoderState state, int defaultValue) Reads an encodedInteger
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.<V> List<V>
Decoder.readList
(ProtonBuffer buffer, DecoderState state) Reads an encodedList
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readLong
(ProtonBuffer buffer, DecoderState state) Reads an encodedLong
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.long
Decoder.readLong
(ProtonBuffer buffer, DecoderState state, long defaultValue) Reads an encodedLong
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.<K,
V> Map<K, V> Decoder.readMap
(ProtonBuffer buffer, DecoderState state) Reads an encodedMap
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.<T> T[]
Decoder.readMultiple
(ProtonBuffer buffer, DecoderState state, Class<T> clazz) Reads one or more encoded values from the givenProtonBuffer
an return it as an array ofObject
instances which the caller must then interpret.TypeDecoder<?>
Decoder.readNextTypeDecoder
(ProtonBuffer buffer, DecoderState state) Reads from the givenProtonBuffer
instance and returns aTypeDecoder
that can read the next encoded AMQP type from the buffer's bytes.Decoder.readObject
(ProtonBuffer buffer, DecoderState state) Reads an encoded value from the givenProtonBuffer
an return it as anObject
which the caller must then interpret.<T> T
Decoder.readObject
(ProtonBuffer buffer, DecoderState state, Class<T> clazz) Reads an encoded value from the givenProtonBuffer
an return it as anObject
which the caller must then interpret.Decoder.readShort
(ProtonBuffer buffer, DecoderState state) Reads an encodedShort
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.short
Decoder.readShort
(ProtonBuffer buffer, DecoderState state, short defaultValue) Reads an encodedShort
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.int
TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) Reads the size in bytes of the encoded AMQP type from the given buffer and returns it.Decoder.readString
(ProtonBuffer buffer, DecoderState state) Reads an encodedString
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readSymbol
(ProtonBuffer buffer, DecoderState state) Reads an encodedSymbol
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readSymbol
(ProtonBuffer buffer, DecoderState state, String defaultValue) Reads an encodedString
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readTimestamp
(ProtonBuffer buffer, DecoderState state) Reads an encoded AMQP time stamp value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.long
Decoder.readTimestamp
(ProtonBuffer buffer, DecoderState state, long defaultValue) Reads an encoded AMQP time stamp value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readUnsignedByte
(ProtonBuffer buffer, DecoderState state) Reads an encodedUnsignedByte
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.byte
Decoder.readUnsignedByte
(ProtonBuffer buffer, DecoderState state, byte defaultValue) Reads an encodedUnsignedByte
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state) Reads an encodedUnsignedInteger
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.int
Decoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state, int defaultValue) Reads an encodedUnsignedInteger
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.long
Decoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state, long defaultValue) Reads an encodedUnsignedInteger
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readUnsignedLong
(ProtonBuffer buffer, DecoderState state) Reads an encodedUnsignedLong
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.long
Decoder.readUnsignedLong
(ProtonBuffer buffer, DecoderState state, long defaultValue) Reads an encodedUnsignedLong
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state) Reads an encodedUnsignedShort
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.int
Decoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state, int defaultValue) Reads an encodedUnsignedShort
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.short
Decoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state, short defaultValue) Reads an encodedUnsignedShort
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.Decoder.readUUID
(ProtonBuffer buffer, DecoderState state) Reads an encodedUUID
value from the givenProtonBuffer
assuming that the next value in the byte stream is that type.TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Reads the next type from the given buffer and returns it.void
TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) Skips over the bytes that compose the type this descriptor decodes.void
SectionEncoder.write
(ProtonBuffer buffer, ApplicationProperties properties) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, DeliveryAnnotations annotations) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, Footer footer) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, Header header) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, MessageAnnotations annotations) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, Properties properties) Writes the given section using the cached encoder for that section typesvoid
SectionEncoder.write
(ProtonBuffer buffer, Section<?> section) Writes the given section using the cached encoder for that section typesvoid
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> void Encoder.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 ProtonBuffer in org.apache.qpid.protonj2.codec.decoders
Modifier and TypeMethodDescriptionProtonDecoder.readBinaryAsBuffer
(ProtonBuffer buffer, DecoderState state) ProtonStreamDecoder.readBinaryAsBuffer
(InputStream stream, StreamDecoderState state) Modifier and TypeMethodDescriptionProtonDecoderState.decodeUTF8
(ProtonBuffer buffer, int length) UTF8Decoder.decodeUTF8
(ProtonBuffer buffer, int utf8length) Decodes a String from the given UTF8 Bytes advancing the buffer read index by the given length value once complete.boolean
ProtonScanningContext.matches
(TypeDecoder<?> typeDecoder, ProtonBuffer candidate, int candidateLength, Consumer<Type> matchConsumer) boolean
ScanningContext.matches
(TypeDecoder<?> typeDecoder, ProtonBuffer candidate, int candidateLength, Consumer<Type> matchConsumer) Returns true if the encoded entry bytes match against the search domain of the scan matching context and calls the provided matchConsumer
with the original unencoded form of the matched entry.TypeDecoder<?>
ProtonDecoder.peekNextTypeDecoder
(ProtonBuffer buffer, DecoderState state) V[]
AbstractPrimitiveTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) final DescribedType[]
UnknownDescribedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) ProtonDecoder.readBinary
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readBinaryAsBuffer
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readBoolean
(ProtonBuffer buffer, DecoderState state) boolean
ProtonDecoder.readBoolean
(ProtonBuffer buffer, DecoderState state, boolean defaultValue) ProtonDecoder.readByte
(ProtonBuffer buffer, DecoderState state) byte
ProtonDecoder.readByte
(ProtonBuffer buffer, DecoderState state, byte defaultValue) ProtonDecoder.readCharacter
(ProtonBuffer buffer, DecoderState state) char
ProtonDecoder.readCharacter
(ProtonBuffer buffer, DecoderState state, char defaultValue) int
PrimitiveArrayTypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) Reads the number of elements in the encoded primitive array from the given buffer and returns it.ProtonDecoder.readDecimal128
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readDecimal32
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readDecimal64
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readDeliveryTag
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readDouble
(ProtonBuffer buffer, DecoderState state) double
ProtonDecoder.readDouble
(ProtonBuffer buffer, DecoderState state, double defaultValue) ProtonDecoder.readFloat
(ProtonBuffer buffer, DecoderState state) float
ProtonDecoder.readFloat
(ProtonBuffer buffer, DecoderState state, float defaultValue) ProtonDecoder.readInteger
(ProtonBuffer buffer, DecoderState state) int
ProtonDecoder.readInteger
(ProtonBuffer buffer, DecoderState state, int defaultValue) <V> List<V>
ProtonDecoder.readList
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readLong
(ProtonBuffer buffer, DecoderState state) long
ProtonDecoder.readLong
(ProtonBuffer buffer, DecoderState state, long defaultValue) <K,
V> Map<K, V> ProtonDecoder.readMap
(ProtonBuffer buffer, DecoderState state) <T> T[]
ProtonDecoder.readMultiple
(ProtonBuffer buffer, DecoderState state, Class<T> clazz) TypeDecoder<?>
ProtonDecoder.readNextTypeDecoder
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readObject
(ProtonBuffer buffer, DecoderState state) <T> T
ProtonDecoder.readObject
(ProtonBuffer buffer, DecoderState state, Class<T> clazz) ProtonDecoder.readShort
(ProtonBuffer buffer, DecoderState state) short
ProtonDecoder.readShort
(ProtonBuffer buffer, DecoderState state, short defaultValue) int
AbstractDescribedTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readString
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readSymbol
(ProtonBuffer buffer, DecoderState state) ProtonDecoder.readSymbol
(ProtonBuffer buffer, DecoderState state, String defaultValue) ProtonDecoder.readTimestamp
(ProtonBuffer buffer, DecoderState state) long
ProtonDecoder.readTimestamp
(ProtonBuffer buffer, DecoderState state, long defaultValue) ProtonDecoder.readUnsignedByte
(ProtonBuffer buffer, DecoderState state) byte
ProtonDecoder.readUnsignedByte
(ProtonBuffer buffer, DecoderState state, byte defaultValue) ProtonDecoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state) int
ProtonDecoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state, int defaultValue) long
ProtonDecoder.readUnsignedInteger
(ProtonBuffer buffer, DecoderState state, long defaultValue) ProtonDecoder.readUnsignedLong
(ProtonBuffer buffer, DecoderState state) long
ProtonDecoder.readUnsignedLong
(ProtonBuffer buffer, DecoderState state, long defaultValue) ProtonDecoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state) int
ProtonDecoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state, int defaultValue) short
ProtonDecoder.readUnsignedShort
(ProtonBuffer buffer, DecoderState state, short defaultValue) ProtonDecoder.readUUID
(ProtonBuffer buffer, DecoderState state) final DescribedType
UnknownDescribedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) protected <KeyType> void
AbstractDescribedMapTypeDecoder.scanMapEntries
(ProtonBuffer buffer, DecoderState state, ScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) final void
AbstractDescribedListTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) final void
AbstractDescribedMapTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) final void
UnknownDescribedTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) ModifierConstructorDescriptionProtonScanningContext
(Class<?> expectedType, Type entry, ProtonBuffer encodedEntry) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.decoders.messaging
Modifier and TypeMethodDescriptionAccepted[]
AcceptedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) AmqpSequenceTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) AmqpValueTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) ApplicationPropertiesTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Data[]
DataTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DeleteOnCloseTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DeleteOnNoLinksOrMessagesTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DeleteOnNoLinksTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DeleteOnNoMessagesTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DeliveryAnnotationsTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Footer[]
FooterTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Header[]
HeaderTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) MessageAnnotationsTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Modified[]
ModifiedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) PropertiesTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Received[]
ReceivedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Rejected[]
RejectedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Released[]
ReleasedTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Source[]
SourceTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Target[]
TargetTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) AcceptedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AmqpSequence<?>
AmqpSequenceTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AmqpValue<?>
AmqpValueTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ApplicationPropertiesTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DataTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeleteOnCloseTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeleteOnNoLinksOrMessagesTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeleteOnNoLinksTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeleteOnNoMessagesTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeliveryAnnotationsTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) FooterTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) HeaderTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) MessageAnnotationsTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ModifiedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) PropertiesTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ReceivedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) RejectedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ReleasedTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) SourceTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) TargetTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) void
DeliveryAnnotationsTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedApplicationProperties
map looking for keys that match with the providedScanningContext
.void
FooterTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedFooter
map looking for keys that match with the providedScanningContext
.void
MessageAnnotationsTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedMessageAnnotations
map looking for keys that match with the providedScanningContext
.void
ApplicationPropertiesTypeDecoder.scanProperties
(ProtonBuffer buffer, DecoderState state, ScanningContext<String> context, BiConsumer<String, Object> matchConsumer) Scans through the encodedApplicationProperties
map looking for keys that match with the providedScanningContext
.void
AmqpSequenceTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AmqpValueTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
DataTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.decoders.primitives
Modifier and TypeMethodDescriptionAbstractBinaryTypeDecoder.readValueAsBuffer
(InputStream stream, StreamDecoderState state) Read and decode an AMQPBinary
into aProtonBuffer
instance and return it.AbstractBinaryTypeDecoder.readValueAsBuffer
(ProtonBuffer buffer, DecoderState state) Read and decode an AMQPBinary
into aProtonBuffer
instance and return it.Modifier and TypeMethodDescriptionint
Array32TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
Array8TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
List0TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
List32TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
List8TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
ListTypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) Reads the number of elements contained in the encoded list from the providedProtonBuffer
.int
Map32TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
Map8TypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) int
MapTypeDecoder.readCount
(ProtonBuffer buffer, DecoderState state) Reads the count of entries in the encoded Map.boolean
BooleanFalseTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) boolean
BooleanTrueTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) boolean
BooleanTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.byte
ByteTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.char
CharacterTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.double
DoubleTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.float
FloatTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.int
Integer32TypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.int
Integer8TypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.long
Long8TypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) long
LongTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.short
ShortTypeDecoder.readPrimitiveValue
(ProtonBuffer buffer, DecoderState state) Reads the primitive value from the givenProtonBuffer
and returns it.int
Array32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Array8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Binary32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Binary8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
BooleanFalseTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
BooleanTrueTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
BooleanTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
ByteTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
CharacterTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Decimal128TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Decimal32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Decimal64TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
DoubleTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
FloatTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Integer32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Integer8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
List0TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
List32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
List8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Long8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
LongTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Map32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Map8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
NullTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
ShortTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
String32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
String8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Symbol32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
Symbol8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
TimestampTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedByteTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedInteger0TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedInteger32TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedInteger8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedLong0TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedLong64TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedLong8TypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UnsignedShortTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) int
UUIDTypeDecoder.readSize
(ProtonBuffer buffer, DecoderState state) AbstractSymbolTypeDecoder.readString
(ProtonBuffer buffer, DecoderState state) Reads a String view of an encoded Symbol value from the given buffer.AbstractArrayTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AbstractBinaryTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AbstractListTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AbstractMapTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AbstractStringTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) AbstractSymbolTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) BooleanFalseTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) BooleanTrueTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) BooleanTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ByteTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) CharacterTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Decimal128TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Decimal32TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Decimal64TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DoubleTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) FloatTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Integer32TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Integer8TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) List0TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) Long8TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) LongTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) NullTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ShortTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) TimestampTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedByteTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedInteger0TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedInteger32TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedInteger8TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedLong0TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedLong64TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedLong8TypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UnsignedShortTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) UUIDTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) byte[]
AbstractBinaryTypeDecoder.readValueAsArray
(ProtonBuffer buffer, DecoderState state) Read and decode an AMQPBinary
into a byte array instance and return it.AbstractBinaryTypeDecoder.readValueAsBuffer
(ProtonBuffer buffer, DecoderState state) Read and decode an AMQPBinary
into aProtonBuffer
instance and return it.<KeyType> void
AbstractMapTypeDecoder.scanKeys
(ProtonBuffer buffer, DecoderState state, ScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) <KeyType> void
MapTypeDecoder.scanKeys
(ProtonBuffer buffer, DecoderState state, ScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) Scan the encodedMap
keys matching on predetermined key value encodings to quickly find mappings that are of interest and then only decoding the value portion of the matched key / value pair.void
AbstractArrayTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AbstractBinaryTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AbstractListTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AbstractMapTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AbstractStringTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
AbstractSymbolTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
BooleanFalseTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
BooleanTrueTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
BooleanTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
ByteTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
CharacterTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Decimal128TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Decimal32TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Decimal64TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
DoubleTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
FloatTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Integer32TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Integer8TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
List0TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
Long8TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
LongTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
NullTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
ShortTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
TimestampTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedByteTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedInteger0TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedInteger32TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedInteger8TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedLong0TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedLong64TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedLong8TypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UnsignedShortTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) void
UUIDTypeDecoder.skipValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.decoders.security
Modifier and TypeMethodDescriptionSaslChallengeTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) SaslInit[]
SaslInitTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) SaslMechanismsTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) SaslOutcomeTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) SaslResponseTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) SaslChallengeTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) SaslInitTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) SaslMechanismsTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) SaslOutcomeTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) SaslResponseTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.decoders.transactions
Modifier and TypeMethodDescriptionCoordinatorTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Declared[]
DeclaredTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Declare[]
DeclareTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DischargeTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) TransactionStateTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) CoordinatorTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeclaredTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DeclareTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DischargeTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) TransactionStateTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.decoders.transport
Modifier and TypeMethodDescriptionAttach[]
AttachTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Begin[]
BeginTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Close[]
CloseTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Detach[]
DetachTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) DispositionTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) End[]
EndTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) ErrorConditionTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Flow[]
FlowTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Open[]
OpenTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) Transfer[]
TransferTypeDecoder.readArrayElements
(ProtonBuffer buffer, DecoderState state, int count) AttachTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) BeginTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) CloseTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DetachTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) DispositionTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) EndTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) ErrorConditionTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) FlowTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) OpenTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) TransferTypeDecoder.readValue
(ProtonBuffer buffer, DecoderState state) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.codec.encoders
Modifier and TypeMethodDescriptionProtonEncoderState.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) UTF8Encoder.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) Encodes the given sequence of characters in UTF8 to the given buffer.Modifier and TypeMethodDescriptionProtonEncoderState.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) UTF8Encoder.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) Encodes the given sequence of characters in UTF8 to the given buffer.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, Encoder encoder, 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> void ProtonEncoder.writeMap
(ProtonBuffer buffer, EncoderState state, Map<K, V> value) abstract 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.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 ProtonBuffer in org.apache.qpid.protonj2.codec.encoders.messaging
Modifier and TypeMethodDescriptionvoid
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, 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) 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 ProtonBuffer in org.apache.qpid.protonj2.codec.encoders.primitives
Modifier and TypeMethodDescriptionvoid
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 ProtonBuffer 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 ProtonBuffer 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 ProtonBuffer 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) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptionPerformativeEnvelope.getPayload()
IncomingDelivery.readAll()
Returns the current read buffer without copying it effectively consuming all currently available bytes from this delivery.Modifier and TypeMethodDescriptiondefault void
Engine.accept
(ProtonBuffer input) Provide data input for this Engine from some external source.void
EngineHandlerContext.fireRead
(ProtonBuffer buffer) Fires a read of ProtonBuffer events into the previous handler in theEnginePipeline
for further processing.EnginePipeline.fireRead
(ProtonBuffer input) Fires a read event consisting of the givenProtonBuffer
into the pipeline starting from the lastEngineHandler
in the pipeline and moving through each until the incoming work is fully processed.void
EngineHandlerContext.fireWrite
(ProtonBuffer buffer, Runnable ioComplete) Fires a write of ProtonBuffer events into the next handler in theEnginePipeline
for further processing.EnginePipeline.fireWrite
(ProtonBuffer buffer, Runnable ioComplete) Fires a write event consisting of the givenProtonBuffer
into the pipeline starting from the firstEngineHandler
in the pipeline and moving through each until the outgoing work is fully processed.default void
EngineHandler.handleRead
(EngineHandlerContext context, ProtonBuffer buffer) Handle the read of new incoming bytes from a remote sender.default void
EngineHandler.handleWrite
(EngineHandlerContext context, ProtonBuffer buffer, Runnable ioComplete) Writes the given bytes to the output target or if no handler in the pipeline handles this calls the registered output handler of the parent Engine instance.Engine.ingest
(ProtonBuffer input) Provide data input for this Engine from some external source.IncomingDelivery.readBytes
(ProtonBuffer buffer) Reads bytes from this delivery and writes them into the destination ProtonBuffer reducing the available bytes by the value of the number of bytes written to the target.OutgoingDelivery.streamBytes
(ProtonBuffer buffer) Write the given bytes as a portion of the payload of this delivery, additional bytes can be streamed until the stream complete flag is set to true on a call toOutgoingDelivery.streamBytes(ProtonBuffer, boolean)
or a call toOutgoingDelivery.writeBytes(ProtonBuffer)
is made.OutgoingDelivery.streamBytes
(ProtonBuffer buffer, boolean complete) Write the given bytes as a portion of the payload of this delivery, additional bytes can be streamed until the stream complete flag is set to true on a call toOutgoingDelivery.streamBytes(ProtonBuffer, boolean)
and the buffer contents on that send are fully written.AMQPPerformativeEnvelopePool.take
(Performative body, int channel, ProtonBuffer payload) Requests an envelope from the pool and if non is available creates one using the given builder this pool was created with.OutgoingDelivery.writeBytes
(ProtonBuffer buffer) Write the given bytes as the payload of this delivery, no additional writes can occur on this delivery if the write succeeds in sending all of the given bytes.Modifier and TypeMethodDescriptiondefault Engine
Engine.outputConsumer
(Consumer<ProtonBuffer> consumer) Sets aConsumer
instance that will be notified when data from the engine is ready to be written to some output sink (socket etc).Engine.outputHandler
(BiConsumer<ProtonBuffer, Runnable> output) Sets aBiConsumer
instance that will be notified when data from the engine is ready to be written to some output sink (socket etc).default Engine
Engine.outputHandler
(EventHandler<ProtonBuffer> output) Sets a handler instance that will be notified when data from the engine is ready to be written to some output sink (socket etc).ModifierConstructorDescriptionSASLEnvelope
(SaslPerformative performative, ProtonBuffer payload) Creates a new SASL envelope that wraps the given SASL performative. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.engine.impl
Modifier and TypeMethodDescriptionProtonIncomingDelivery.readAll()
ProtonSequentialTagGenerator.ProtonNumericDeliveryTag.tagBuffer()
Modifier and TypeMethodDescriptionvoid
ProtonEngineHandlerContext.fireRead
(ProtonBuffer buffer) ProtonEnginePipeline.fireRead
(ProtonBuffer input) ProtonEnginePipelineProxy.fireRead
(ProtonBuffer input) void
ProtonEngineHandlerContext.fireWrite
(ProtonBuffer buffer, Runnable ioComplete) ProtonEnginePipeline.fireWrite
(ProtonBuffer buffer, Runnable ioComplete) ProtonEnginePipelineProxy.fireWrite
(ProtonBuffer buffer, Runnable ioComplete) void
ProtonConnection.handleAttach
(Attach attach, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleAttach
(Attach attach, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleBegin
(Begin begin, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleBegin
(Begin begin, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleClose
(Close close, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleClose
(Close close, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleDetach
(Detach detach, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleDetach
(Detach detach, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleDisposition
(Disposition disposition, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleDisposition
(Disposition disposition, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleEnd
(End end, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleEnd
(End end, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleFlow
(Flow flow, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleFlow
(Flow flow, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonConnection.handleOpen
(Open open, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleOpen
(Open open, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonFrameDecodingHandler.handleRead
(EngineHandlerContext context, ProtonBuffer buffer) protected abstract ProtonIncomingDelivery
ProtonLink.handleRemoteTransfer
(Transfer transfer, ProtonBuffer payload) protected final ProtonIncomingDelivery
ProtonReceiver.handleRemoteTransfer
(Transfer transfer, ProtonBuffer payload) protected final ProtonIncomingDelivery
ProtonSender.handleRemoteTransfer
(Transfer transfer, ProtonBuffer payload) void
ProtonConnection.handleTransfer
(Transfer transfer, ProtonBuffer payload, int channel, ProtonEngine context) void
ProtonPerformativeHandler.handleTransfer
(Transfer transfer, ProtonBuffer payload, int channel, EngineHandlerContext context) ProtonEngine.ingest
(ProtonBuffer input) ProtonIncomingDelivery.readBytes
(ProtonBuffer buffer) ProtonOutgoingDelivery.streamBytes
(ProtonBuffer buffer) ProtonOutgoingDelivery.streamBytes
(ProtonBuffer buffer, boolean complete) ProtonOutgoingDelivery.writeBytes
(ProtonBuffer buffer) void
ProtonSequentialTagGenerator.ProtonNumericDeliveryTag.writeTo
(ProtonBuffer buffer) Modifier and TypeMethodDescriptionProtonEngine.outputHandler
(BiConsumer<ProtonBuffer, Runnable> handler) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.engine.sasl
Modifier and TypeMethodDescriptionvoid
SaslClientListener.handleSaslChallenge
(SaslClientContext context, ProtonBuffer challenge) Called when a SASL challenge frame has arrived and its effect applied, indicating the challenge sent by the 'server' peer.void
SaslServerListener.handleSaslInit
(SaslServerContext context, Symbol mechanism, ProtonBuffer initResponse) Called when a SASL init frame has arrived from the client indicating the chosen SASL mechanism and the initial response data if any.void
SaslClientListener.handleSaslOutcome
(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional) Called when a SASL outcome frame has arrived and its effect applied, indicating the outcome and any success additional data sent by the 'server' peer.void
SaslServerListener.handleSaslResponse
(SaslServerContext context, ProtonBuffer response) Called when a SASL response frame has arrived from the client.SaslServerContext.sendChallenge
(ProtonBuffer challenge) Sends the SASL challenge defined by the SASL mechanism that is in use during this SASL negotiation.default SaslClientContext
SaslClientContext.sendChosenMechanism
(String mechanism, String host, ProtonBuffer initialResponse) Sends a response to the SASL server indicating the chosen mechanism for this client and the host name that this client is identifying itself as.SaslClientContext.sendChosenMechanism
(Symbol mechanism, String host, ProtonBuffer initialResponse) Sends a response to the SASL server indicating the chosen mechanism for this client and the host name that this client is identifying itself as.SaslServerContext.sendOutcome
(SaslOutcome outcome, ProtonBuffer additional) Sends a response to a server side challenge that comprises the challenge / response exchange for the chosen SASL mechanism.SaslClientContext.sendResponse
(ProtonBuffer response) Sends a response to a server side challenge that comprises the challenge / response exchange for the chosen SASL mechanism. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.engine.sasl.client
Modifier and TypeMethodDescriptionAbstractMechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) CramMD5Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) Create a response based on a given challenge from the remote peer.XOauth2Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) AbstractMechanism.getInitialResponse
(SaslCredentialsProvider credentials) CramMD5Mechanism.getInitialResponse
(SaslCredentialsProvider credentials) Mechanism.getInitialResponse
(SaslCredentialsProvider credentials) Create an initial response based on selected mechanism.PlainMechanism.getInitialResponse
(SaslCredentialsProvider credentials) XOauth2Mechanism.getInitialResponse
(SaslCredentialsProvider credentials) Modifier and TypeMethodDescriptionAbstractMechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) CramMD5Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) Create a response based on a given challenge from the remote peer.XOauth2Mechanism.getChallengeResponse
(SaslCredentialsProvider credentials, ProtonBuffer challenge) void
SaslAuthenticator.handleSaslChallenge
(SaslClientContext context, ProtonBuffer challenge) void
SaslAuthenticator.handleSaslOutcome
(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.engine.util
Modifier and TypeMethodDescriptionstatic String
StringUtils.toQuotedString
(ProtonBuffer buffer) Converts the ProtonBuffer to a quoted string using a default max length before truncation value and appends a truncation indication if the string required truncation.static String
StringUtils.toQuotedString
(ProtonBuffer buffer, boolean appendIfTruncated) Converts the ProtonBuffer to a quoted string using a default max length before truncation value.static String
StringUtils.toQuotedString
(ProtonBuffer buffer, int stringLength, boolean appendIfTruncated) Converts the ProtonBuffer to a quoted string. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.types
Modifier and TypeMethodDescriptionBinary.asProtonBuffer()
Creates a read-onlyProtonBuffer
that contains a copy of the bytes wrapped by this Binary instance.DeliveryTag.ProtonDeliveryTag.tagBuffer()
DeliveryTag.tagBuffer()
Returns a view of thisDeliveryTag
object as aProtonBuffer
.Symbol.toASCII()
Modifier and TypeMethodDescriptionstatic Symbol
Symbol.getSymbol
(ProtonBuffer symbolBytes) static Symbol
Symbol.getSymbol
(ProtonBuffer symbolBuffer, boolean copyOnCreate) void
DeliveryTag.ProtonDeliveryTag.writeTo
(ProtonBuffer buffer) void
DeliveryTag.writeTo
(ProtonBuffer buffer) Writes the tag as a sequence of bytes into the given buffer in the manner most efficient for the underlyingDeliveryTag
implementation.void
Symbol.writeTo
(ProtonBuffer target) Writes the internalSymbol
bytes to the providedProtonBuffer
.ModifierConstructorDescriptionBinary
(ProtonBuffer buffer) Creates anBinary
that wraps the given buffer or copies it if the given buffer is not read-only to preserves the immutable nature of this Binary instance.ProtonDeliveryTag
(ProtonBuffer tagBytes) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.types.messaging
Modifier and TypeMethodDescriptionData.getBuffer()
Returns theProtonBuffer
that contains the bytes carried in theData
section.Modifier and TypeMethodDescriptionData.copyTo
(ProtonBuffer target) Copies the binary payload of this Data section info the given target buffer. -
Uses of ProtonBuffer in org.apache.qpid.protonj2.types.security
Modifier and TypeMethodDescriptionSaslOutcome.getAdditionalData()
SaslChallenge.getChallenge()
SaslInit.getInitialResponse()
SaslResponse.getResponse()
Modifier and TypeMethodDescriptionSaslOutcome.setAdditionalData
(ProtonBuffer additionalData) SaslChallenge.setChallenge
(ProtonBuffer challenge) SaslInit.setInitialResponse
(ProtonBuffer initialResponse) SaslResponse.setResponse
(ProtonBuffer response) -
Uses of ProtonBuffer in org.apache.qpid.protonj2.types.transport
Modifier and TypeMethodDescriptiondefault void
Performative.PerformativeHandler.handleAttach
(Attach attach, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleBegin
(Begin begin, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleClose
(Close close, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleDetach
(Detach detach, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleDisposition
(Disposition disposition, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleEnd
(End end, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleFlow
(Flow flow, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleOpen
(Open open, ProtonBuffer payload, int channel, E context) default void
Performative.PerformativeHandler.handleTransfer
(Transfer transfer, ProtonBuffer payload, int channel, E context) <E> void
Attach.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Begin.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Close.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Detach.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Disposition.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
End.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Flow.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Open.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Performative.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) <E> void
Transfer.invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) Transfer.setDeliveryTag
(ProtonBuffer tagBytes) ModifierConstructorDescriptionAMQPHeader
(ProtonBuffer buffer) AMQPHeader
(ProtonBuffer buffer, boolean validate)