Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.jeremie.stub_factories.std.DynamicRef
Jeremie reference
to a
remote object.
A Jeremie reference contains:
identifiers
;
marshaller factory
;
session identifier
;
session high object
for sending messages down the protocol stack;
Constructor Summary | |
|
Method Summary | |
void |
|
Identifier[] |
|
String |
|
Object |
|
void |
|
RemoteCall |
|
void |
|
boolean |
|
int |
|
String |
|
void |
|
void |
|
Object |
public void done(RemoteCall call)
Deprecated.
- Parameters:
call
-
public Identifier[] getIdentifiers()
Returns the identifiers contained in this reference.
- Returns:
- a set of identifiers.
public String getRefClass(ObjectOutput out)
Not used; left for compatibility withjava.rmi.server.RemoteRef
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception
Carries out a remote method invocation and either returns the result of the invocation is successful, otherwise an exception.
- Parameters:
obj
- ignored; left for compatibility withjava.rmi.server.RemoteRef
;method
- the remote method to be invoked;params
- arguments to the invocation of the remote method;opnum
- ignored; left for compatibility withjava.rmi.server.RemoteRef
.
- Returns:
- the result of the remote method invocation, if successful.
public void invoke(RemoteCall call)
Deprecated.
- Parameters:
call
-
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
Deprecated.
- Parameters:
obj
-op
-opnum
-hash
-
- Returns:
- a remote call
public void readExternal(ObjectInput in)
public boolean remoteEquals(RemoteRef obj)
Tests for object equality (==) of this reference with the given reference.
- Parameters:
obj
- the remote reference to be compared with.
- Returns:
- the result of the object equality (==) test.
public int remoteHashCode()
Returns a hashcode for this reference.
- Returns:
- a hashcode.
public String remoteToString()
Provides a string representation of this reference.
- Returns:
- a string representation of this reference.
public void setIdentifiers(Identifier[] ids)
Sets the identifiers contained in this reference to the given identifiers.
- Parameters:
ids
- a set of identifiers.
public void writeExternal(ObjectOutput out)
public Object writeReplace()