public class VmPipeConnector extends BaseIoConnector
IoHandler
s which is bound on the specified
VmPipeAddress
.Constructor and Description |
---|
VmPipeConnector()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ConnectFuture |
connect(SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
ConnectFuture |
connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
IoServiceConfig |
getDefaultConfig()
Returns the default configuration which is used when you didn't specify
any configuration.
|
connect, connect
addListener, getFilterChain, getFilterChainBuilder, getListeners, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder
public ConnectFuture connect(SocketAddress address, IoHandler handler, IoServiceConfig config)
IoConnector
address
. If communication starts
successfully, events are fired to the specified
handler
.config
- the configurationConnectFuture
that will tell the result of the connection attemptpublic ConnectFuture connect(SocketAddress address, SocketAddress localAddress, IoHandler handler, IoServiceConfig config)
IoConnector
address
. If communication starts
successfully, events are fired to the specified
handler
.config
- the configurationConnectFuture
that will tell the result of the connection attemptpublic IoServiceConfig getDefaultConfig()
IoService
Copyright © 2004–2015 Apache MINA Project. All rights reserved.