Class RMIMultiSocketServer


  • public class RMIMultiSocketServer
    extends java.lang.Object
    Version:
    $Revision$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.HashMap handlermap  
      private static java.util.HashMap stubmap  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.rmi.Remote exportObject​(java.rmi.Remote obj, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, int numSockets)  
      static java.rmi.Remote exportObject​(java.rmi.Remote obj, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, java.lang.Class[] interfaces, int numSockets)  
      static boolean unexportObject​(java.rmi.Remote obj, boolean force)  
      • Methods inherited from class java.lang.Object

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

      • handlermap

        private static java.util.HashMap handlermap
      • stubmap

        private static java.util.HashMap stubmap
    • Constructor Detail

      • RMIMultiSocketServer

        public RMIMultiSocketServer()
    • Method Detail

      • exportObject

        public static java.rmi.Remote exportObject​(java.rmi.Remote obj,
                                                   int port,
                                                   java.rmi.server.RMIClientSocketFactory csf,
                                                   java.rmi.server.RMIServerSocketFactory ssf,
                                                   java.lang.Class[] interfaces,
                                                   int numSockets)
                                            throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • exportObject

        public static java.rmi.Remote exportObject​(java.rmi.Remote obj,
                                                   int port,
                                                   java.rmi.server.RMIClientSocketFactory csf,
                                                   java.rmi.server.RMIServerSocketFactory ssf,
                                                   int numSockets)
                                            throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • unexportObject

        public static boolean unexportObject​(java.rmi.Remote obj,
                                             boolean force)
                                      throws java.rmi.NoSuchObjectException
        Throws:
        java.rmi.NoSuchObjectException