IoConnector
, IoService
public class VmPipeConnector extends BaseIoConnector
IoHandler
s which is bound on the specified
VmPipeAddress
.Constructor | Description |
---|---|
VmPipeConnector() |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
ConnectFuture |
connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Connects to the specified
address . |
ConnectFuture |
connect(java.net.SocketAddress address,
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
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