public interface IoConnector extends IoService
DEFAULT_REUSE_ADDRESS
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT
Modifier and Type | Method and Description |
---|---|
IoConnectFuture |
connect(SocketAddress targetAddress,
SocketAddress localAddress) |
getManagedSessions
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
getIoServiceEventListener, setIoServiceEventListener
IoConnectFuture connect(SocketAddress targetAddress, SocketAddress localAddress)
targetAddress
- The target address to connect tolocalAddress
- The local address to use - if null
an
automatic ephemeral port and bind address is usedfuture
representing the connection requestCopyright © 2008–2019 The Apache Software Foundation. All rights reserved.