| |
|
| java.lang.Object org.apache.harmony.rmi.server.RemoteRefBase
All known Subclasses: org.apache.harmony.rmi.remoteref.UnicastRef,
RemoteRefBase | abstract public class RemoteRefBase implements RemoteRef(Code) | | Base class for all RemoteRef implementations.
It belongs to org.apache.harmony.rmi.transport package because it should have
package protected access to ClientDGC implementation.
author: Mikhail A. Markov version: $Revision: 1.1.2.2 $ |
Field Summary | |
protected Endpoint | ep Endpoint this handle refers to. | protected boolean | isLocal True if this handle is for local object. | protected ObjID | objId Object ID of remote object. |
isLocal | protected boolean isLocal(Code) | | True if this handle is for local object.
|
objId | protected ObjID objId(Code) | | Object ID of remote object.
|
getObjId | public ObjID getObjId()(Code) | | Returns Object ID for the referenced remote object.
Object ID for the referenced remote object |
remoteEquals | public boolean remoteEquals(RemoteRef obj)(Code) | | See Also: RemoteRef.remoteEquals(RemoteRef) |
remoteHashCode | public int remoteHashCode()(Code) | | See Also: RemoteRef.remoteHashCode() |
remoteToString | public String remoteToString()(Code) | | See Also: RemoteRef.remoteToString() |
toString | public String toString()(Code) | | Returns the value returned by remoteToString() method.
the value returned by remoteToString() method |
writeCommon | protected void writeCommon(ObjectOutput out) throws IOException(Code) | | Writes everything left except Endpoint info to the given stream.
Parameters: out - the stream to write the object to throws: IOException - if any I/O error occurred or class is not serializable |
|
|
|