cx.ath.matthew.unix

Class UnixSocketAddress

public class UnixSocketAddress extends Object

Represents an address for a Unix Socket
Constructor Summary
UnixSocketAddress(String path, boolean abs)
Create the address.
UnixSocketAddress(String path)
Create the address.
Method Summary
booleanequals(Object o)
StringgetPath()
Return the path.
inthashCode()
booleanisAbstract()
Returns true if this an address for an abstract socket.
StringtoString()
Return the Address as a String.

Constructor Detail

UnixSocketAddress

public UnixSocketAddress(String path, boolean abs)
Create the address.

Parameters: path The path to the Unix Socket. abs True if this should be an abstract socket.

UnixSocketAddress

public UnixSocketAddress(String path)
Create the address.

Parameters: path The path to the Unix Socket.

Method Detail

equals

public boolean equals(Object o)

getPath

public String getPath()
Return the path.

hashCode

public int hashCode()

isAbstract

public boolean isAbstract()
Returns true if this an address for an abstract socket.

toString

public String toString()
Return the Address as a String.