public abstract class BaseIoConnector extends BaseIoService implements IoConnector
IoConnector.| Modifier | Constructor and Description |
|---|---|
protected |
BaseIoConnector() |
| Modifier and Type | Method and Description |
|---|---|
ConnectFuture |
connect(java.net.SocketAddress address,
IoHandler handler)
Connects to the specified
address. |
ConnectFuture |
connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler)
Connects to the specified
address. |
addListener, getFilterChain, getFilterChainBuilder, getListeners, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, connectaddListener, getDefaultConfig, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilderpublic ConnectFuture connect(java.net.SocketAddress address, IoHandler handler)
IoConnectoraddress. If communication starts
successfully, events are fired to the specified
handler.connect in interface IoConnectorConnectFuture that will tell the result of the connection attemptpublic ConnectFuture connect(java.net.SocketAddress address, java.net.SocketAddress localAddress, IoHandler handler)
IoConnectoraddress. If communication starts
successfully, events are fired to the specified
handler.connect in interface IoConnectorlocalAddress - the local address the channel is bound toConnectFuture that will tell the result of the connection attempt