public interface: ServerRef
All Implemented Interfaces:
A ServerRef represents the server-side handle for a remote object
Ann - Wollrath
|static final long ||serialVersionUID ||indicate compatibility with JDK 1.1.x version of class. |
|Method from java.rmi.server.ServerRef Detail:|
public RemoteStub exportObject(Remote obj,
Object data) throws RemoteException
Creates a client stub object for the supplied Remote object.
If the call completes successfully, the remote object should
be able to accept incoming calls from clients.
public String getClientHost() throws ServerNotActiveException
Returns the hostname of the current client. When called from a
thread actively handling a remote method invocation the
hostname of the client is returned.