javax.microedition.jcrmi
Interface RemoteRef


public interface RemoteRef

The interface RemoteRef represents the handle for a remote object. Each stub contains an instance of RemoteRef. RemoteRef contains the concrete representation of a reference. This remote reference is used to carry out remote calls on the remote object for which it is a reference.

Since:
JDE 4.2.1

Method Summary
 Object invoke(String s, Object[] aobj)
           
 boolean remoteEquals(RemoteRef remoteref)
          Compares two remote references.
 int remoteHashCode()
          Returns a hashcode for a remote object.
 

Method Detail

invoke

public Object invoke(String s,
                     Object[] aobj)
              throws Exception
Since:
JDE 4.2.1

remoteEquals

public boolean remoteEquals(RemoteRef remoteref)
Compares two remote references. Two remote references are equal if they refer to the same remote object.
Parameters:
remoteref - the Object to compare with
Returns:
true if these Objects are equal; false otherwise
Since:
JDE 4.2.1

remoteHashCode

public int remoteHashCode()
Returns a hashcode for a remote object. Two remote object stubs that refer to the same remote object will have the same hash code.
Returns:
the remote object hashcode
Since:
JDE 4.2.1



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.