| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.mina.common.support.BaseIoServiceorg.apache.mina.common.support.BaseIoConnectororg.apache.mina.transport.vmpipe.VmPipeConnectorpublic class VmPipeConnectorextends BaseIoConnectorIoHandlers 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:
ConnectFuturethat 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:
ConnectFuturethat 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