public abstract class BaseIoConnector extends BaseIoService implements IoConnector
IoConnector.| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseIoConnector() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 IoConnectorlocalAddress - the local address the channel is bound toConnectFuture that will tell the result of the connection attempt