|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This defines the essential interface of standard RMI UnicastRemoteObjects.
| Method Summary | |
RemoteStub |
export(Remote obj,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Exports a remote object on the specified port. |
boolean |
unexport(Remote obj,
boolean force)
Unexports the specified remote object. |
| Method Detail |
public RemoteStub export(Remote obj,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
throws RemoteException
obj - the remote object to be exported;port - the port on which to export the object;csf - the client socket factory supplying sockets for client-side
connections to the remote object;ssf - the server socket factory supplying a server side socket.
RemoteException - if something goes wrong.
public boolean unexport(Remote obj,
boolean force)
throws NoSuchObjectException
obj - the remote object to be unexported;force - whether the object should be forcibly unexported or not.
NoSuchObjectException - if something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||