public interface ServerRef extends RemoteRef
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
indicate compatibility with JDK 1.1.x version of class.
|
packagePrefix| Modifier and Type | Method and Description |
|---|---|
RemoteStub |
exportObject(Remote obj,
Object data)
Creates a client stub object for the supplied Remote object.
|
String |
getClientHost()
Returns the hostname of the current client.
|
done, getRefClass, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToStringreadExternal, writeExternalstatic final long serialVersionUID
RemoteStub exportObject(Remote obj, Object data) throws RemoteException
obj - the remote object implementationdata - information necessary to export the objectRemoteException - if an exception occurs attempting
to export the object (e.g., stub class could not be found)String getClientHost() throws ServerNotActiveException
ServerNotActiveException - if called outside of servicing
a remote method invocation