Package org.eclipse.spi.net4j
Interface InternalChannelMultiplexer
- All Superinterfaces:
IBufferProvider,IChannelMultiplexer,org.eclipse.net4j.util.container.IContainer<IChannel>,ILocationAware,org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.properties.IPropertiesContainer,ITransportConfigAware
- All Known Subinterfaces:
InternalConnector
- All Known Implementing Classes:
ChannelMultiplexer,Connector
public interface InternalChannelMultiplexer
extends IChannelMultiplexer, IBufferProvider, ITransportConfigAware
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 2.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceNested classes/interfaces inherited from interface org.eclipse.net4j.buffer.IBufferProvider
IBufferProvider.Introspection, IBufferProvider.NotificationNested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>Nested classes/interfaces inherited from interface org.eclipse.net4j.ILocationAware
ILocationAware.LocationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThreadLocal<InternalChannelMultiplexer>static final shortFields inherited from interface org.eclipse.net4j.channel.IChannelMultiplexer
DEFAULT_OPEN_CHANNEL_TIMEOUT, NO_CHANNEL_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseChannel(InternalChannel channel) voidmultiplexChannel(InternalChannel channel) booleanMethods inherited from interface org.eclipse.net4j.buffer.IBufferProvider
getBufferCapacity, provideBuffer, retainBufferMethods inherited from interface org.eclipse.net4j.channel.IChannelMultiplexer
getChannels, getOpenChannelTimeout, openChannel, openChannel, openChannel, setOpenChannelTimeoutMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.ILocationAware
getLocation, isClient, isServerMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
propertiesMethods inherited from interface org.eclipse.net4j.ITransportConfigAware
getConfig, setConfig
-
Field Details
-
CONTEXT_MULTIPLEXER
- Since:
- 4.5
-
RESERVED_CHANNEL
static final short RESERVED_CHANNEL- Since:
- 4.0
- See Also:
-
-
Method Details
-
needsBufferProvider
boolean needsBufferProvider()- Since:
- 4.16
-
multiplexChannel
Called by achanneleach time a newbufferis available for multiplexing. This or another buffer can be dequeued from thesend queueof the channel. -
closeChannel
- Since:
- 2.0
-