org.apache.mina.transport.vmpipe
Class VmPipeConnector
java.lang.Object
org.apache.mina.core.service.AbstractIoService
org.apache.mina.core.service.AbstractIoConnector
org.apache.mina.transport.vmpipe.VmPipeConnector
- All Implemented Interfaces:
- IoConnector, IoService
public final class VmPipeConnector
- extends AbstractIoConnector
Connects to IoHandler
s which is bound on the specified
VmPipeAddress
.
- Author:
- Apache MINA Project
Methods inherited from class org.apache.mina.core.service.AbstractIoConnector |
connect, connect, connect, connect, connect, connect, finishSessionInitialization0, getConnectTimeout, getConnectTimeoutCheckInterval, getConnectTimeoutMillis, getDefaultRemoteAddress, setConnectTimeout, setConnectTimeoutCheckInterval, setConnectTimeoutMillis, setDefaultRemoteAddress, toString |
Methods inherited from class org.apache.mina.core.service.AbstractIoService |
addListener, broadcast, dispose, dispose, executeWorker, executeWorker, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getListeners, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, initSession, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactory |
Methods inherited from interface org.apache.mina.core.service.IoService |
addListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactory |
VmPipeConnector
public VmPipeConnector()
- Creates a new instance.
VmPipeConnector
public VmPipeConnector(Executor executor)
- Creates a new instance.
getTransportMetadata
public TransportMetadata getTransportMetadata()
- Description copied from interface:
IoService
- Returns the
TransportMetadata
that this service runs on.
getSessionConfig
public VmPipeSessionConfig getSessionConfig()
- Description copied from class:
AbstractIoService
- Returns the default configuration of the new
IoSession
s
created by this service.
- Specified by:
getSessionConfig
in interface IoService
- Overrides:
getSessionConfig
in class AbstractIoService
connect0
protected ConnectFuture connect0(SocketAddress remoteAddress,
SocketAddress localAddress,
IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
- Description copied from class:
AbstractIoConnector
- Implement this method to perform the actual connect operation.
- Specified by:
connect0
in class AbstractIoConnector
localAddress
- null if no local address is specified
dispose0
protected void dispose0()
throws Exception
- Description copied from class:
AbstractIoService
- Implement this method to release any acquired resources. This method
is invoked only once by
AbstractIoService.dispose()
.
- Specified by:
dispose0
in class AbstractIoService
- Throws:
Exception
Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.