Uses of Interface
org.apache.qpid.proton.codec.ReadableBuffer
Packages that use ReadableBuffer
Package
Description
-
Uses of ReadableBuffer in org.apache.qpid.proton.amqp
Methods in org.apache.qpid.proton.amqp with parameters of type ReadableBuffer -
Uses of ReadableBuffer in org.apache.qpid.proton.codec
Classes in org.apache.qpid.proton.codec that implement ReadableBufferModifier and TypeClassDescriptionclass
ReadableBuffer implementation whose content is made up of one or more byte arrays.static final class
Methods in org.apache.qpid.proton.codec that return ReadableBufferModifier and TypeMethodDescriptionReadableBuffer.ByteBufferReader.clear()
ReadableBuffer.clear()
Resets the buffer position to zero and sets the limit to the buffer capacity, the mark value is discarded if set.ReadableBuffer.ByteBufferReader.duplicate()
ReadableBuffer.duplicate()
Creates a duplicateReadableBuffer
to this instance.ReadableBuffer.ByteBufferReader.flip()
ReadableBuffer.flip()
Sets the buffer limit to the current position and the position is set to zero, the mark value reset to undefined.ReadableBuffer.ByteBufferReader.get
(byte[] data) ReadableBuffer.ByteBufferReader.get
(byte[] data, int offset, int length) ReadableBuffer.ByteBufferReader.get
(WritableBuffer target) ReadableBuffer.get
(byte[] target) A bulk read method that copies bytes from this buffer into the target byte array.ReadableBuffer.get
(byte[] target, int offset, int length) A bulk read method that copies bytes from this buffer into the target byte array.ReadableBuffer.get
(WritableBuffer target) Copy data from this buffer to the target buffer starting from the current position and continuing until either this buffer's remaining bytes are consumed or the target is full.DecoderImpl.getBuffer()
ReadableBuffer.ByteBufferReader.limit
(int limit) ReadableBuffer.limit
(int limit) Sets the current read limit of this buffer to the given value.ReadableBuffer.ByteBufferReader.mark()
ReadableBuffer.mark()
Mark the current position of this buffer which can be returned to after a read operation by callingreset()
.ReadableBuffer.ByteBufferReader.position
(int position) ReadableBuffer.position
(int position) Sets the current position of this buffer to the given value.ReadableBuffer.ByteBufferReader.reclaimRead()
ReadableBuffer.reclaimRead()
Compact the backing storage of this ReadableBuffer, possibly freeing previously-read portions of pooled data or reducing the number of backing arrays if present.ReadableBuffer.ByteBufferReader.reset()
ReadableBuffer.reset()
Reset the buffer's position to a previously marked value, the mark should remain set after calling this method.ReadableBuffer.ByteBufferReader.rewind()
ReadableBuffer.rewind()
Resets the buffer position to zero and clears and previously set mark.ReadableBuffer.ByteBufferReader.slice()
ReadableBuffer.slice()
Creates a new ReadableBuffer instance that is a view of the readable portion of this buffer.WritableBuffer.ByteBufferWrapper.toReadableBuffer()
Methods in org.apache.qpid.proton.codec with parameters of type ReadableBufferModifier and TypeMethodDescriptionCompositeReadableBuffer.append
(ReadableBuffer buffer) Adds the given readable buffer contents (from current position, up to the limit) into this composite buffer at the end.void
CompositeWritableBuffer.put
(ReadableBuffer payload) void
DroppingWritableBuffer.put
(ReadableBuffer payload) void
WritableBuffer.ByteBufferWrapper.put
(ReadableBuffer src) void
WritableBuffer.put
(ReadableBuffer payload) void
DecoderImpl.setBuffer
(ReadableBuffer buffer) -
Uses of ReadableBuffer in org.apache.qpid.proton.engine
Methods in org.apache.qpid.proton.engine that return ReadableBufferModifier and TypeMethodDescriptionReceiver.recv()
Receive message data for the current delivery returning the data in a Readable buffer.Methods in org.apache.qpid.proton.engine with parameters of type ReadableBufferModifier and TypeMethodDescriptionint
Sender.send
(ReadableBuffer buffer) Sends some data for the current delivery.int
Sender.sendNoCopy
(ReadableBuffer buffer) Sends data to the current delivery attempting not to copy the data unless a previous send has already added data to the Delivery in which case a copy may occur depending on the implementation. -
Uses of ReadableBuffer in org.apache.qpid.proton.engine.impl
Methods in org.apache.qpid.proton.engine.impl that return ReadableBufferMethods in org.apache.qpid.proton.engine.impl with parameters of type ReadableBufferModifier and TypeMethodDescriptionvoid
FrameWriterBuffer.put
(ReadableBuffer payload) int
SenderImpl.send
(ReadableBuffer buffer) int
SenderImpl.sendNoCopy
(ReadableBuffer buffer) protected void
TransportImpl.writeFrame
(int channel, FrameBody frameBody, ReadableBuffer payload, Runnable onPayloadTooLarge) -
Uses of ReadableBuffer in org.apache.qpid.proton.message
Methods in org.apache.qpid.proton.message with parameters of type ReadableBufferModifier and TypeMethodDescriptionvoid
Message.decode
(ReadableBuffer buffer) Decodes the Message from the givenReadableBuffer
. -
Uses of ReadableBuffer in org.apache.qpid.proton.message.impl
Methods in org.apache.qpid.proton.message.impl with parameters of type ReadableBuffer