Package org.apache.mina.transport.vmpipe
Class VmPipeConnector
- java.lang.Object
-
- org.apache.mina.common.support.BaseIoService
-
- org.apache.mina.common.support.BaseIoConnector
-
- org.apache.mina.transport.vmpipe.VmPipeConnector
-
- All Implemented Interfaces:
IoConnector
,IoService
public class VmPipeConnector extends BaseIoConnector
Connects toIoHandler
s which is bound on the specifiedVmPipeAddress
.
-
-
Constructor Summary
Constructors Constructor Description VmPipeConnector()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectFuture
connect(java.net.SocketAddress address, java.net.SocketAddress localAddress, IoHandler handler, IoServiceConfig config)
Connects to the specifiedaddress
.ConnectFuture
connect(java.net.SocketAddress address, IoHandler handler, IoServiceConfig config)
Connects to the specifiedaddress
.IoServiceConfig
getDefaultConfig()
Returns the default configuration which is used when you didn't specify any configuration.-
Methods inherited from class org.apache.mina.common.support.BaseIoConnector
connect, connect
-
Methods inherited from class org.apache.mina.common.support.BaseIoService
addListener, getFilterChain, getFilterChainBuilder, getListeners, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.mina.common.IoService
addListener, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder
-
-
-
-
Method Detail
-
connect
public ConnectFuture connect(java.net.SocketAddress address, IoHandler handler, IoServiceConfig config)
Description copied from interface:IoConnector
Connects to the specifiedaddress
. If communication starts successfully, events are fired to the specifiedhandler
.config
- the configuration- Returns:
ConnectFuture
that will tell the result of the connection attempt
-
connect
public ConnectFuture connect(java.net.SocketAddress address, java.net.SocketAddress localAddress, IoHandler handler, IoServiceConfig config)
Description copied from interface:IoConnector
Connects to the specifiedaddress
. If communication starts successfully, events are fired to the specifiedhandler
.config
- the configuration- Returns:
ConnectFuture
that will tell the result of the connection attempt
-
getDefaultConfig
public IoServiceConfig getDefaultConfig()
Description copied from interface:IoService
Returns the default configuration which is used when you didn't specify any configuration.
-
-