public interface IoConnector extends IoService
DEFAULT_REUSE_ADDRESS
Modifier and Type | Method and Description |
---|---|
IoConnectFuture |
connect(SocketAddress targetAddress,
AttributeRepository context,
SocketAddress localAddress) |
getManagedSessions
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
getIoServiceEventListener, setIoServiceEventListener
IoConnectFuture 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 © 2008–2024 The Apache Software Foundation. All rights reserved.