|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static String | packagePrefix
Initialize the server package prefix: assumes that the implementation of server ref classes (e.g. |
static long | serialVersionUID
|
Fields inherited from class java.io.Serializable | |
serialVersionUID |
Method Summary | |
void | done(RemoteCall call)
Allows the remote reference to clean up (or reuse) the connection. |
String | getRefClass(ObjectOutput out)
Returns the class name of the ref type to be serialized onto the stream 'out'. |
Object | invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method. |
void | invoke(RemoteCall call)
Executes the remote call. |
RemoteCall | newCall(RemoteObject obj,
Operation[] op,
int opnum,
long hash)
Creates an appropriate call object for a new remote method invocation on this object. |
boolean | remoteEquals(RemoteRef obj)
Compares two remote objects for equality. |
int | remoteHashCode()
Returns a hashcode for a remote object. |
String | remoteToString()
Returns a String that represents the reference of this remote object. |
Methods inherited from interface java.io.Externalizable | |
readExternal , writeExternal |
Field Detail |
public static final long serialVersionUID
public static final String packagePrefix
Method Detail |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception
obj
- the object that contains the RemoteRef (e.g., the
RemoteStub for the object.
method
- the method to be invoked
params
- the parameter list
opnum
- a hash that may be used to represent the methodpublic RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException
public void invoke(RemoteCall call) throws Exception
public void done(RemoteCall call) throws RemoteException
public String getRefClass(ObjectOutput out)
public int remoteHashCode()
Hashtable
public boolean remoteEquals(RemoteRef obj)
obj
- the Object to compare withHashtable
public String remoteToString()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |