public class UnixSocketAddress extends Object
Constructor and Description |
---|
UnixSocketAddress(String path)
Create the address.
|
UnixSocketAddress(String path,
boolean abs)
Create the address.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPath()
Return the path.
|
int |
hashCode() |
boolean |
isAbstract()
Returns true if this an address for an abstract socket.
|
String |
toString()
Return the Address as a String.
|
public UnixSocketAddress(String path, boolean abs)
path
- The path to the Unix Socket.abs
- True if this should be an abstract socket.public UnixSocketAddress(String path)
path
- The path to the Unix Socket.