@Contract(threading=SAFE_CONDITIONAL) public final class MultihomeConnectionInitiator extends Object implements org.apache.hc.core5.reactor.ConnectionInitiator
ConnectionInitiator
.Constructor and Description |
---|
MultihomeConnectionInitiator(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
DnsResolver dnsResolver) |
Modifier and Type | Method and Description |
---|---|
Future<org.apache.hc.core5.reactor.IOSession> |
connect(org.apache.hc.core5.net.NamedEndpoint remoteEndpoint,
SocketAddress remoteAddress,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback) |
Future<org.apache.hc.core5.reactor.IOSession> |
connect(org.apache.hc.core5.net.NamedEndpoint remoteEndpoint,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback) |
public MultihomeConnectionInitiator(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, DnsResolver dnsResolver)
public Future<org.apache.hc.core5.reactor.IOSession> connect(org.apache.hc.core5.net.NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, org.apache.hc.core5.util.Timeout connectTimeout, Object attachment, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback)
connect
in interface org.apache.hc.core5.reactor.ConnectionInitiator
public Future<org.apache.hc.core5.reactor.IOSession> connect(org.apache.hc.core5.net.NamedEndpoint remoteEndpoint, SocketAddress localAddress, org.apache.hc.core5.util.Timeout connectTimeout, Object attachment, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.