Class SocketInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class SocketInfo
    extends java.lang.Object
    implements java.io.Serializable
    Class representing endpoint info for the ORB.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String host  
      private int port  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketInfo​(java.lang.String type, java.lang.String host, int port)  
      SocketInfo​(InputStream is)  
    • Field Detail

      • type

        private final java.lang.String type
      • host

        private final java.lang.String host
      • port

        private final int port
    • Constructor Detail

      • SocketInfo

        public SocketInfo​(java.lang.String type,
                          java.lang.String host,
                          int port)
    • Method Detail

      • type

        public java.lang.String type()
      • host

        public java.lang.String host()
      • port

        public int port()
      • toString

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

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

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