|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerRef
A ServerRef represents the server-side handle for a remote object implementation.
Field Summary | |
---|---|
static long |
serialVersionUID
indicate compatibility with JDK 1.1.x version of class. |
Fields inherited from interface java.rmi.server.RemoteRef |
---|
packagePrefix |
Method Summary | |
---|---|
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. |
Methods inherited from interface java.rmi.server.RemoteRef |
---|
done, getRefClass, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
RemoteStub exportObject(Remote obj, Object data) throws RemoteException
obj
- the remote object implementationdata
- information necessary to export the object
RemoteException
- 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
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.