- java.lang.Object
-
- java.net.SocketAddress
-
- org.xnio.LocalSocketAddress
-
- All Implemented Interfaces:
java.io.Serializable
public final class LocalSocketAddress extends java.net.SocketAddressA socket address which is a local (UNIX domain) socket.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalSocketAddress(java.lang.String name)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name (filesystem path) of this local socket address.java.lang.StringtoString()Get the string representation of this socket address (its name).
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name (filesystem path) of this local socket address.- Returns:
- the name
-
toString
public java.lang.String toString()
Get the string representation of this socket address (its name).- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation
-
-