Package org.eclipse.net4j.buffer
The Net4j transport layer concepts for dealing with buffers.
-
Interface Summary Interface Description IBuffer Basic unit of transport in Net4j.IBufferHandler Provides clients with the ability to passIBuffers in for further buffer handling.IBufferPool Provides clients with the ability to obtain and retain pooledIBuffers.IBufferPool.Introspection Offers additional introspection features forIBufferPools.IBufferProvider Provides clients with the ability to obtain and retainIBuffers.IBufferProvider.Introspection Offers additional introspection features forbuffer providers.IBufferProvider.Notification Offers additional notification features forbuffer providers.IBufferProvider.Notification.BufferProvidedEvent Aneventfired from abuffer providerto indicate that a buffer has been provided.IBufferProvider.Notification.BufferRetainingEvent Aneventfired from abuffer providerto indicate that a buffer is about to be retained. -
Class Summary Class Description BufferInputStream Abuffer handlerthat defragments the passedbuffersinto a continuous byte sequence which is exposed as aninput stream.BufferOutputStream Anoutput streamthat fragments the written byte sequence into fixed-sizedbuffersand passes them to configuredbuffer handler. -
Enum Summary Enum Description BufferState Enumerates the internal states of anIBuffer.