public interface IoConnector extends IoService
DEFAULT_REUSE_ADDRESSCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
IoConnectFuture |
connect(SocketAddress targetAddress,
AttributeRepository context,
SocketAddress localAddress) |
getManagedSessionsaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenergetIoServiceEventListener, setIoServiceEventListenerIoConnectFuture connect(SocketAddress targetAddress, AttributeRepository context, SocketAddress localAddress)
targetAddress - The target address to connect tocontext - An optional "context" to be attached to the established session if successfully
connectedlocalAddress - The local address to use - if null an automatic ephemeral port and bind address is
usedfuture representing the connection requestCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.