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
Modifier and TypeInterfaceDescriptionstatic interface
Nested classes/interfaces inherited from interface org.eclipse.net4j.buffer.IBufferProvider
IBufferProvider.Introspection, IBufferProvider.Notification
Nested 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.Location
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ThreadLocal<InternalChannelMultiplexer>
static final short
Fields inherited from interface org.eclipse.net4j.channel.IChannelMultiplexer
DEFAULT_OPEN_CHANNEL_TIMEOUT, NO_CHANNEL_TIMEOUT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeChannel
(InternalChannel channel) void
multiplexChannel
(InternalChannel channel) boolean
Methods inherited from interface org.eclipse.net4j.buffer.IBufferProvider
getBufferCapacity, provideBuffer, retainBuffer
Methods inherited from interface org.eclipse.net4j.channel.IChannelMultiplexer
getChannels, getOpenChannelTimeout, openChannel, openChannel, openChannel, setOpenChannelTimeout
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.ILocationAware
getLocation, isClient, isServer
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
properties
Methods 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 achannel
each time a newbuffer
is available for multiplexing. This or another buffer can be dequeued from thesend queue
of the channel. -
closeChannel
- Since:
- 2.0
-