Package org.eclipse.net4j.buffer
Interface IBufferProvider
-
- All Known Subinterfaces:
IBufferPool,IBufferPool.Introspection,IBufferProvider.Introspection,IBufferProvider.Notification,InternalChannel,InternalChannelMultiplexer,InternalConnector
- All Known Implementing Classes:
Channel,ChannelMultiplexer,Connector
public interface IBufferProviderProvides clients with the ability to obtain and retainIBuffers.- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIBufferProvider.IntrospectionOffers additional introspection features forbuffer providers.static interfaceIBufferProvider.NotificationOffers additional notification features forbuffer providers.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description shortgetBufferCapacity()Returns the capacity of the buffers provided byprovideBuffer().IBufferprovideBuffer()Provides a buffer from thisBufferProvider.voidretainBuffer(IBuffer buffer)Retains a buffer to thisBufferProvider.
-
-
-
Method Detail
-
getBufferCapacity
short getBufferCapacity()
Returns the capacity of the buffers provided byprovideBuffer().
-
provideBuffer
IBuffer provideBuffer()
Provides a buffer from thisBufferProvider.
-
retainBuffer
void retainBuffer(IBuffer buffer)
Retains a buffer to thisBufferProvider.
-
-