Package com.rabbitmq.client
Interface AddressResolver
-
- All Known Implementing Classes:
DnsRecordIpAddressResolver
,DnsSrvRecordAddressResolver
,ListAddressResolver
public interface AddressResolver
Strategy interface to get the potential servers to connect to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Address>
getAddresses()
Get the potentialAddress
es to connect to.
-
-
-
Method Detail
-
getAddresses
List<Address> getAddresses() throws IOException
Get the potentialAddress
es to connect to.- Returns:
- candidate
Address
es - Throws:
IOException
- if it encounters a problem
-
-