| |
|
| java.lang.Object javax.microedition.jcrmi.RemoteStub
RemoteStub | public class RemoteStub (Code) | | The RemoteStub class is the common superclass for stubs of
remote objects.
|
Field Summary | |
protected RemoteRef | ref The remote reference associated with this stub object. |
Constructor Summary | |
public | RemoteStub() Constructs a RemoteStub . |
Method Summary | |
public boolean | equals(Object obj) Compares two remote objects for equality. | public int | hashCode() Returns a hashcode for a remote object. | public void | setRef(RemoteRef ref) Sets the remote reference associated with this stub object. |
ref | protected RemoteRef ref(Code) | | The remote reference associated with this stub object.
The stub uses this reference to perform a remote method call.
|
RemoteStub | public RemoteStub()(Code) | | Constructs a RemoteStub .
|
equals | public boolean equals(Object obj)(Code) | | Compares two remote objects for equality. Two remote objects are
equal if their remote references are non-null and equal.
Parameters: obj - the Object to compare with true if these Objects are equal; false otherwise |
hashCode | public int hashCode()(Code) | | Returns a hashcode for a remote object. Two remote object stubs
that refer to the same remote object will have the same hash code.
remote object hashcode |
setRef | public void setRef(RemoteRef ref)(Code) | | Sets the remote reference associated with this stub object.
Parameters: ref - the remote reference |
|
|
|