Class HostRMIServerSocketFactory

  • All Implemented Interfaces:
    java.io.Serializable, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory

    public class HostRMIServerSocketFactory
    extends java.rmi.server.RMISocketFactory
    implements java.rmi.server.RMIServerSocketFactory, java.rmi.server.RMIClientSocketFactory, java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.ServerSocket createServerSocket​(int port)  
      java.net.Socket createSocket​(java.lang.String host, int port)  
      java.lang.String getHost()  
      void setHost​(java.lang.String host)  
      • Methods inherited from class java.rmi.server.RMISocketFactory

        getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HostRMIServerSocketFactory

        public HostRMIServerSocketFactory()
      • HostRMIServerSocketFactory

        public HostRMIServerSocketFactory​(java.lang.String host)
    • Method Detail

      • createServerSocket

        public java.net.ServerSocket createServerSocket​(int port)
                                                 throws java.io.IOException
        Specified by:
        createServerSocket in interface java.rmi.server.RMIServerSocketFactory
        Specified by:
        createServerSocket in class java.rmi.server.RMISocketFactory
        Throws:
        java.io.IOException
      • 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
        Specified by:
        createSocket in class java.rmi.server.RMISocketFactory
        Throws:
        java.io.IOException
      • getHost

        public java.lang.String getHost()
      • setHost

        public void setHost​(java.lang.String host)