Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.mina.common.support.BaseIoService
org.apache.mina.common.support.BaseIoConnector
org.apache.mina.transport.vmpipe.VmPipeConnector
public class VmPipeConnector
extends BaseIoConnector
IoHandler
s which is bound on the specified
VmPipeAddress
.
Constructor Summary | |
|
Method Summary | |
ConnectFuture |
|
ConnectFuture |
|
IoServiceConfig |
|
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 |
public ConnectFuture connect(SocketAddress address, SocketAddress localAddress, IoHandler handler, IoServiceConfig config)
Connects to the specifiedaddress
. If communication starts successfully, events are fired to the specifiedhandler
.
- Specified by:
- connect in interface IoConnector
- Parameters:
config
- the configuration
- Returns:
ConnectFuture
that will tell the result of the connection attempt
public ConnectFuture connect(SocketAddress address, IoHandler handler, IoServiceConfig config)
Connects to the specifiedaddress
. If communication starts successfully, events are fired to the specifiedhandler
.
- Specified by:
- connect in interface IoConnector
- Parameters:
config
- the configuration
- Returns:
ConnectFuture
that will tell the result of the connection attempt
public IoServiceConfig getDefaultConfig()
Returns the default configuration which is used when you didn't specify any configuration.
- Specified by:
- getDefaultConfig in interface IoService