public final class MultuhomeConnectionInitiator extends Object implements org.apache.hc.core5.reactor.ConnectionInitiator
ConnectionInitiator.| Constructor and Description |
|---|
MultuhomeConnectionInitiator(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.TimeValue 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.TimeValue connectTimeout,
Object attachment,
org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback) |
public MultuhomeConnectionInitiator(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.TimeValue connectTimeout, Object attachment, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback)
connect in interface org.apache.hc.core5.reactor.ConnectionInitiatorpublic Future<org.apache.hc.core5.reactor.IOSession> connect(org.apache.hc.core5.net.NamedEndpoint remoteEndpoint, SocketAddress localAddress, org.apache.hc.core5.util.TimeValue connectTimeout, Object attachment, org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.core5.reactor.IOSession> callback)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.