public final class VmPipeConnector extends AbstractIoConnector
IoHandlers which is bound on the specified
VmPipeAddress.AbstractIoService.ServiceOperationFuturedisposalLock| Constructor and Description |
|---|
VmPipeConnector()
Creates a new instance.
|
VmPipeConnector(Executor executor)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected ConnectFuture |
connect0(SocketAddress remoteAddress,
SocketAddress localAddress,
IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.
|
protected void |
dispose0()
Implement this method to release any acquired resources.
|
VmPipeSessionConfig |
getSessionConfig()
Returns the default configuration of the new
IoSessions
created by this service. |
TransportMetadata |
getTransportMetadata()
Returns the
TransportMetadata that this service runs on. |
connect, connect, connect, connect, connect, connect, finishSessionInitialization0, getConnectTimeout, getConnectTimeoutCheckInterval, getConnectTimeoutMillis, getDefaultRemoteAddress, setConnectTimeout, setConnectTimeoutCheckInterval, setConnectTimeoutMillis, setDefaultRemoteAddress, toStringaddListener, broadcast, dispose, dispose, executeWorker, executeWorker, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getListeners, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, initSession, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactorypublic VmPipeConnector()
public VmPipeConnector(Executor executor)
public TransportMetadata getTransportMetadata()
IoServiceTransportMetadata that this service runs on.public VmPipeSessionConfig getSessionConfig()
AbstractIoServiceIoSessions
created by this service.getSessionConfig in interface IoServicegetSessionConfig in class AbstractIoServiceprotected ConnectFuture connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
AbstractIoConnectorconnect0 in class AbstractIoConnectorlocalAddress - null if no local address is specifiedprotected void dispose0()
throws Exception
AbstractIoServiceAbstractIoService.dispose().dispose0 in class AbstractIoServiceException