public class RMIMultiSocketServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.util.HashMap |
handlermap |
private static java.util.HashMap |
stubmap |
| Constructor and Description |
|---|
RMIMultiSocketServer() |
| Modifier and Type | Method and Description |
|---|---|
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 java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
int numSockets) |
static boolean |
unexportObject(java.rmi.Remote obj,
boolean force) |
private static java.util.HashMap handlermap
private static java.util.HashMap stubmap
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
java.rmi.RemoteExceptionpublic 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
java.rmi.RemoteExceptionpublic static boolean unexportObject(java.rmi.Remote obj,
boolean force)
throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectException