Package org.jboss.net.sockets
Class RMIMultiSocketServer
- java.lang.Object
-
- org.jboss.net.sockets.RMIMultiSocketServer
-
public class RMIMultiSocketServer extends java.lang.Object- Version:
- $Revision$
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMaphandlermapprivate static java.util.HashMapstubmap
-
Constructor Summary
Constructors Constructor Description RMIMultiSocketServer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.rmi.RemoteexportObject(java.rmi.Remote obj, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, int numSockets)static java.rmi.RemoteexportObject(java.rmi.Remote obj, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, java.lang.Class[] interfaces, int numSockets)static booleanunexportObject(java.rmi.Remote obj, boolean force)
-
-
-
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
-
-