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