public class SocketAddressImpl extends Object implements SocketAddress
| Constructor and Description |
|---|
SocketAddressImpl(int port,
String host) |
SocketAddressImpl(String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
host() |
String |
path() |
int |
port() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdomainSocketAddress, inetSocketAddresspublic SocketAddressImpl(int port,
String host)
public SocketAddressImpl(String path)
public String path()
path in interface SocketAddressnull for a inet socketpublic String host()
host in interface SocketAddressnull for a domain socketpublic int port()
port in interface SocketAddress-1 for a domain socketCopyright © 2020. All rights reserved.