Externalizable
, RemoteRef
, Serializable
@Deprecated public interface ServerRef extends RemoteRef
Modifier and Type | Field | Description |
---|---|---|
static final long |
serialVersionUID |
Deprecated. A serialVersionUID field in an interface is ineffectual. |
packagePrefix
Modifier and Type | Method | Description |
---|---|---|
RemoteStub |
exportObject |
Deprecated. Creates a client stub object for the supplied Remote object. |
String |
getClientHost() |
Deprecated. Returns the hostname of the current client. |
readExternal, writeExternal
done, getRefClass, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString
@Deprecated static final long serialVersionUID
serialVersionUID
field in an interface is ineffectual. Do not use; no replacement.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
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.rmi/java/rmi/server/ServerRef.html