Class InProcessSocketAddress

  • All Implemented Interfaces:
    java.io.Serializable

    public final class InProcessSocketAddress
    extends java.net.SocketAddress
    Custom SocketAddress class for InProcessTransport.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InProcessSocketAddress​(java.lang.String name)
      Construct an address for a server identified by name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Returns true if the object is of the same type and server names match.
      java.lang.String getName()
      Gets the name of the inprocess server.
      int hashCode()  
      java.lang.String toString()
      Returns getName().
      • Methods inherited from class java.lang.Object

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

      • InProcessSocketAddress

        public InProcessSocketAddress​(java.lang.String name)
        Construct an address for a server identified by name.
        Parameters:
        name - The name of the inprocess server.
        Since:
        1.0.0
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the inprocess server.
        Since:
        1.0.0
      • toString

        public java.lang.String toString()
        Returns getName().
        Overrides:
        toString in class java.lang.Object
        Since:
        1.14.0
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Returns true if the object is of the same type and server names match.
        Overrides:
        equals in class java.lang.Object
        Since:
        1.15.0