|
|||||||||||
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 | |
java.rmi.server.RemoteStub |
export(java.rmi.Remote obj,
int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf)
Exports a remote object on the specified port. |
boolean |
unexport(java.rmi.Remote obj,
boolean force)
Unexports the specified remote object. |
Method Detail |
public java.rmi.server.RemoteStub export(java.rmi.Remote obj, int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf) throws java.rmi.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.
java.rmi.RemoteException
- if something goes wrong.public boolean unexport(java.rmi.Remote obj, boolean force) throws java.rmi.NoSuchObjectException
obj
- the remote object to be unexported;force
- whether the object should be forcibly unexported or not.
java.rmi.NoSuchObjectException
- if something goes wrong.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |