Class UnixSocketAddress


  • public class UnixSocketAddress
    extends java.lang.Object
    Represents an address for a Unix Socket
    • Constructor Summary

      Constructors 
      Constructor Description
      UnixSocketAddress​(java.lang.String path)
      Create the address.
      UnixSocketAddress​(java.lang.String path, boolean abs)
      Create the address.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

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

      • UnixSocketAddress

        public UnixSocketAddress​(java.lang.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​(java.lang.String path)
        Create the address.
        Parameters:
        path - The path to the Unix Socket.
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Return the path.
      • isAbstract

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

        public java.lang.String toString()
        Return the Address as a String.
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object