Class VmPipeAddress

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VmPipeAddress>

    public class VmPipeAddress
    extends java.net.SocketAddress
    implements java.lang.Comparable<VmPipeAddress>
    A SocketAddress which represents in-VM pipe port number.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VmPipeAddress​(int port)
      Creates a new instance with the specifid port number.
    • Constructor Detail

      • VmPipeAddress

        public VmPipeAddress​(int port)
        Creates a new instance with the specifid port number.
    • Method Detail

      • getPort

        public int getPort()
        Returns the port number.
      • hashCode

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

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

        public int compareTo​(VmPipeAddress o)
        Specified by:
        compareTo in interface java.lang.Comparable<VmPipeAddress>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object