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