public class VmPipeConnector
extends org.apache.mina.common.support.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(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
ConnectFuture |
connect(java.net.SocketAddress address,
java.net.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.
|
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(java.net.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(java.net.SocketAddress address, java.net.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-2019 Apache MINA Project. All Rights Reserved.