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, remoteToString
readExternal, writeExternal
static 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 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.