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