| org.apache.harmony.rmi.remoteref.UnicastRef org.apache.harmony.rmi.remoteref.UnicastRef2
All known Subclasses: org.apache.harmony.rmi.remoteref.ActivatableRef,
UnicastRef2 | public class UnicastRef2 extends UnicastRef (Code) | | Handle of remote objects using custom client socket factory.
author: Mikhail A. Markov version: $Revision: 1.1.2.2 $ |
UnicastRef2 | public UnicastRef2()(Code) | | Default constructor: constructs an empty instance of this class.
|
UnicastRef2 | public UnicastRef2(String host, int port, RMIClientSocketFactory csf, ObjID objId)(Code) | | Constructs UnicastRef2.
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 Parameters: csf - client-side socket factory; if null - then default socketfactory will be used (call RMISocketFactory.getSocketFactorymethod and if it returns null, then callRMISocketFactory.getDefaultSocketFactory) |
UnicastRef2 | public UnicastRef2(Endpoint ep, ObjID objId)(Code) | | Constructs UnicastRef2 using specified Endpoint.
Parameters: ep - Endpoint for remote calls Parameters: objId - Object ID of remote object |
UnicastRef2 | public UnicastRef2(Endpoint ep, ObjID objId, boolean isLocal)(Code) | | Constructs UnicastRef2 using specified Endpoint and objId.
Parameters: ep - Endpoint for remote calls Parameters: objId - Object ID of remote object Parameters: isLocal - if true this UnicastRef2 belongs to local object |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Writes this UnicastRef2 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 |
Fields inherited from org.apache.harmony.rmi.remoteref.UnicastRef | final public static RMILog clientCallsLog(Code)(Java Doc)
|
|
|