public class UnixSocketAddress extends SocketAddress
Using an abstract name space is denoted by the socket path starting with a NUL byte. Sockets in abstract name space have no entry in the file system. When linux performs autobind, it constructs the resulting path with a leading NUL, followed by a unique 5-digit hexadecimal number.
Constructor and Description |
---|
UnixSocketAddress(File path) |
UnixSocketAddress(String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object _other) |
int |
hashCode() |
String |
humanReadablePath()
Returns a human readable path.
|
String |
path()
Retrieves the path.
|
String |
toString()
Retrieves a human readable description of this address.
|
public UnixSocketAddress(File path)
public UnixSocketAddress(String path)
public String path()
public String humanReadablePath()
public String toString()
Copyright © 2017. All rights reserved.