public final class LocalSocketAddress extends SocketAddress
SocketAddress representing a local connection.| Constructor and Description |
|---|
LocalSocketAddress(String name)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the name for this connection.
|
String |
toString() |
public LocalSocketAddress(String name)
name - the name representing the addressNullPointerException - if name is null