| java.lang.Object org.apache.harmony.rmi.server.RemoteRefBase org.apache.harmony.rmi.remoteref.UnicastRef
All known Subclasses: org.apache.harmony.rmi.remoteref.UnicastRef2, org.apache.harmony.rmi.remoteref.UnicastServerRef,
UnicastRef | public class UnicastRef extends RemoteRefBase (Code) | | Implementation of handle for remote objects.
author: Mikhail A. Markov version: $Revision: 1.1.2.2 $ |
Field Summary | |
final public static RMILog | clientCallsLog Logger where to write client-side log of remote calls. |
Constructor Summary | |
public | UnicastRef() Default constructor: constructs an empty instance of this class. | public | UnicastRef(String host, int port, ObjID objId) Constructs UnicastRef.
Parameters: host - host name where remote object impl. | public | UnicastRef(Endpoint ep, ObjID objId) Constructs UnicastRef using specified Endpoint and objId. | public | UnicastRef(Endpoint ep, ObjID objId, boolean isLocal) Constructs UnicastRef using specified Endpoint and objId. |
clientCallsLog | final public static RMILog clientCallsLog(Code) | | Logger where to write client-side log of remote calls.
|
UnicastRef | public UnicastRef()(Code) | | Default constructor: constructs an empty instance of this class.
|
UnicastRef | public UnicastRef(String host, int port, ObjID objId)(Code) | | Constructs UnicastRef.
Parameters: host - host name where remote object impl. is located. Parameters: port - port on remote host where remote object accepts RMI calls Parameters: objId - Object ID of remoteObject |
UnicastRef | public UnicastRef(Endpoint ep, ObjID objId)(Code) | | Constructs UnicastRef using specified Endpoint and objId.
Parameters: ep - Endpoint for remote calls Parameters: objId - Object ID of remote object |
UnicastRef | public UnicastRef(Endpoint ep, ObjID objId, boolean isLocal)(Code) | | Constructs UnicastRef using specified Endpoint and objId.
Parameters: ep - Endpoint for remote calls Parameters: objId - Object ID of remote object Parameters: isLocal - if true this UnicastRef belongs to local object |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Writes this UnicastRef object to the specified output stream.
Parameters: out - the stream to write the object to throws: IOException - if any I/O error occurred or class is not serializable |
|
|