Class UdsAddress

    • Constructor Detail

      • UdsAddress

        public UdsAddress()
        Default Constructor
      • UdsAddress

        public UdsAddress​(UdsAddress udsAddressObj)
        Copy constructor
        Parameters:
        udsAddressObj - reference to the object to be copied
      • UdsAddress

        public UdsAddress​(String path)
        Parameterized constructor
        Parameters:
        path - Unix domain socket server path
    • Method Detail

      • getPath

        public String getPath()
        Gets Path
        Returns:
        Unix domain socket server path
      • setPath

        public void setPath​(String path)
        Sets Path
        Parameters:
        path - Unix domain socket server path
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class LocalAddress
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class LocalAddress
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class LocalAddress
        Returns:
        The calculated hash code