public class MultiChoiceAddress extends Object implements InetEndpoint
| Constructor and Description |
|---|
MultiChoiceAddress(Object canonicalAddress,
int port,
List<InetAddress> candidates) |
| Modifier and Type | Method and Description |
|---|---|
MultiChoiceAddress |
addAddresses(Iterable<InetAddress> candidates) |
boolean |
equals(Object o) |
List<InetAddress> |
getCandidates() |
Object |
getCanonicalAddress() |
String |
getDisplayName()
Returns the display name for this address.
|
int |
getPort() |
int |
hashCode() |
String |
toString() |
public MultiChoiceAddress(Object canonicalAddress, int port, List<InetAddress> candidates)
public String getDisplayName()
AddressgetDisplayName in interface Addresspublic Object getCanonicalAddress()
public List<InetAddress> getCandidates()
getCandidates in interface InetEndpointpublic int getPort()
getPort in interface InetEndpointpublic MultiChoiceAddress addAddresses(Iterable<InetAddress> candidates)
Copyright © 2013. All rights reserved