Package cx.ath.matthew.unix
Class UnixSocketAddress
java.lang.Object
cx.ath.matthew.unix.UnixSocketAddress
Represents an address for a Unix Socket
-
Constructor Summary
ConstructorsConstructorDescriptionUnixSocketAddress
(String path) Create the address.UnixSocketAddress
(String path, boolean abs) Create the address. -
Method Summary
-
Constructor Details
-
UnixSocketAddress
Create the address.- Parameters:
path
- The path to the Unix Socket.abs
- True if this should be an abstract socket.
-
UnixSocketAddress
Create the address.- Parameters:
path
- The path to the Unix Socket.
-
-
Method Details
-
getPath
Return the path. -
isAbstract
public boolean isAbstract()Returns true if this an address for an abstract socket. -
toString
Return the Address as a String. -
equals
-
hashCode
public int hashCode()
-