Uses of Interface
io.netty5.buffer.api.Send
-
Packages that use Send Package Description io.netty5.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.internal Internal implementation details that can be shared among Buffer implementations. -
-
Uses of Send in io.netty5.buffer
Constructors in io.netty5.buffer with parameters of type Send Constructor Description BufferInputStream(Send<Buffer> buffer)
Creates a new stream which reads data from the specifiedbuffer
starting at the currentreaderOffset
and ending at the currentwriterOffset
. -
Uses of Send in io.netty5.buffer.api
Methods in io.netty5.buffer.api that return Send Modifier and Type Method Description default <R extends Resource<R>>
Send<R>Send. map(Class<R> type, Function<T,R> mapper)
Apply a mapping function to the object being sent.Send<T>
BufferHolder. send()
Send<Buffer>
BufferStub. send()
Send<T>
Resource. send()
Send this object instance to another Thread, transferring the ownership to the recipient.static <T extends Resource<T>>
Send<T>Send. sending(Class<T> concreteObjectType, Supplier<? extends T> supplier)
Methods in io.netty5.buffer.api with parameters of type Send Modifier and Type Method Description static CompositeBuffer
CompositeBuffer. compose(BufferAllocator allocator, Send<Buffer>... sends)
Compose the given sequence of sends of buffers and present them as a single buffer.CompositeBuffer
CompositeBuffer. extendWith(Send<Buffer> extension)
Extend this composite buffer with the given extension buffer.void
BufferRef. replace(Send<Buffer> send)
Replace the underlying referenced buffer with the given buffer.protected void
BufferHolder. replaceBuffer(Send<Buffer> send)
Replace the underlying referenced buffer with the given buffer.protected void
BufferHolder. replaceBufferVolatile(Send<Buffer> send)
Replace the underlying referenced buffer with the given buffer.Constructors in io.netty5.buffer.api with parameters of type Send Constructor Description BufferHolder(Send<Buffer> send)
BufferRef(Send<Buffer> send)
Create a reference that holds the exclusive ownership of the sent buffer. -
Uses of Send in io.netty5.buffer.api.internal
Classes in io.netty5.buffer.api.internal that implement Send Modifier and Type Class Description class
SendFromOwned<I extends Resource<I>,T extends ResourceSupport<I,T>>
class
SendFromSupplier<T extends Resource<T>>
Methods in io.netty5.buffer.api.internal that return Send Modifier and Type Method Description Send<I>
ResourceSupport. send()
Send this Resource instance to another Thread, transferring the ownership to the recipient.
-