Module 
Package org.xnio

Class LocalSocketAddress

  • All Implemented Interfaces:
    java.io.Serializable

    public final class LocalSocketAddress
    extends java.net.SocketAddress
    A 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.String getName()
      Get the name (filesystem path) of this local socket address.
      java.lang.String toString()
      Get the string representation of this socket address (its name).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocalSocketAddress

        public LocalSocketAddress​(java.lang.String name)
        Construct a new instance.
        Parameters:
        name - the name of this socket address
    • 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:
        toString in class java.lang.Object
        Returns:
        the string representation