Package org.eclipse.net4j.channel
Schnittstelle IChannelMultiplexer
- Alle Superschnittstellen:
org.eclipse.net4j.util.container.IContainer<IChannel>,ILocationAware,org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.properties.IPropertiesContainer
- Alle bekannten Unterschnittstellen:
IConnector,IJVMConnector,InternalChannelMultiplexer,InternalConnector,IServerConnector,ITCPConnector,IWSConnector
- Alle bekannten Implementierungsklassen:
ChannelMultiplexer,Connector
public interface IChannelMultiplexer
extends ILocationAware, org.eclipse.net4j.util.container.IContainer<IChannel>, org.eclipse.net4j.util.properties.IPropertiesContainer
Manages and multiplexes virtual data
channels over a shared physical connection.- Autor:
- 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.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E>, org.eclipse.net4j.util.container.IContainer.Persistable<E>, org.eclipse.net4j.util.container.IContainer.Persistence<E>Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.ILocationAware
ILocationAware.LocationVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final longIndicates to use the timeout that is configured via debug propertyopen.channel.timeout(see .options file) which has a default of 10 seconds.static final long -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a collection of currently open channels.longSynchronous request to open a newIChannelwith an undefined channel protocol.openChannel(String protocolID, Object infraStructure) Synchronous request to open a newIChannelwith a channel protocol defined by a given protocol identifier.openChannel(IProtocol<?> protocol) Synchronous request to open a newIChannelwith the given channel protocol .voidsetOpenChannelTimeout(long openChannelTimeout) Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer
getElements, isEmptyVon Schnittstelle geerbte Methoden org.eclipse.net4j.ILocationAware
getLocation, isClient, isServerVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.properties.IPropertiesContainer
properties
-
Felddetails
-
NO_CHANNEL_TIMEOUT
static final long NO_CHANNEL_TIMEOUT- Seit:
- 2.0
- Siehe auch:
-
DEFAULT_OPEN_CHANNEL_TIMEOUT
static final long DEFAULT_OPEN_CHANNEL_TIMEOUTIndicates to use the timeout that is configured via debug propertyopen.channel.timeout(see .options file) which has a default of 10 seconds.- Seit:
- 2.0
- Siehe auch:
-
-
Methodendetails
-
openChannel
Synchronous request to open a newIChannelwith an undefined channel protocol. Since the peer connector can't lookup a protocolfactorywithout a protocol identifier theIBufferHandlerof the peerIChannelcan only be provided by externally provided channellifecyclelisteners.- Löst aus:
ChannelException- Seit:
- 2.0
- Siehe auch:
-
openChannel
Synchronous request to open a newIChannelwith a channel protocol defined by a given protocol identifier. The peer connector will lookup a protocolfactorywith the protocol identifier, create aIBufferHandlerand inject it into the peerIChannel.- Löst aus:
ChannelException- Seit:
- 2.0
- Siehe auch:
-
openChannel
Synchronous request to open a newIChannelwith the given channel protocol . The peer connector will lookup a protocolfactorywith the protocol identifier, create aIBufferHandlerand inject it into the peer channel.- Löst aus:
ChannelException- Seit:
- 2.0
- Siehe auch:
-
getChannels
Collection<IChannel> getChannels()Returns a collection of currently open channels.- Seit:
- 2.0
-
getOpenChannelTimeout
long getOpenChannelTimeout()- Seit:
- 2.0
-
setOpenChannelTimeout
void setOpenChannelTimeout(long openChannelTimeout) - Seit:
- 2.0
-