CONF - client configuration implementationpublic static interface ClientTransport.ResolvedAddressSelector<CONF> extends BiFunction<CONF,List<? extends SocketAddress>,List<? extends SocketAddress>>
| Modifier and Type | Method and Description | 
|---|---|
@Nullable List<? extends SocketAddress> | 
apply(CONF config,
     List<? extends SocketAddress> resolvedAddresses)
Selects the resolved addresses to be used for a connection. 
 | 
andThen@Nullable List<? extends SocketAddress> apply(CONF config, List<? extends SocketAddress> resolvedAddresses)
null, the connection establishment will fail with
 UnknownHostExceptionapply in interface BiFunction<CONF,List<? extends SocketAddress>,List<? extends SocketAddress>>config - client configuration implementationresolvedAddresses - the list of resolved socket addresses