Class Remote.RCSF

  • All Implemented Interfaces:
    java.io.Serializable, java.rmi.server.RMIClientSocketFactory
    Enclosing class:
    Remote

    private static final class Remote.RCSF
    extends java.lang.Object
    implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable
    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      private RCSF()  
      private RCSF​(java.lang.String host, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket createSocket​(java.lang.String host, int port)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • port

        private int port
      • host

        private java.lang.String host
    • Constructor Detail

      • RCSF

        private RCSF()
      • RCSF

        private RCSF​(java.lang.String host,
                     int port)
    • Method Detail

      • createSocket

        public java.net.Socket createSocket​(java.lang.String host,
                                            int port)
                                     throws java.io.IOException
        Specified by:
        createSocket in interface java.rmi.server.RMIClientSocketFactory
        Throws:
        java.io.IOException
      • 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