@Deprecated public interface ServerRef extends RemoteRef
| Modifier and Type | Field and Description | 
|---|---|
static long | 
serialVersionUID
Deprecated.  
indicate compatibility with JDK 1.1.x version of class. 
 | 
packagePrefix| Modifier and Type | Method and Description | 
|---|---|
RemoteStub | 
exportObject(Remote obj,
            Object data)
Deprecated.  
Creates a client stub object for the supplied Remote object. 
 | 
String | 
getClientHost()
Deprecated.  
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 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, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.