ibis.rmi.server
Class RemoteObject

java.lang.Object
  extended byibis.rmi.server.RemoteObject
All Implemented Interfaces:
Remote, java.io.Serializable
Direct Known Subclasses:
RemoteServer, RemoteStub

public abstract class RemoteObject
extends java.lang.Object
implements Remote, java.io.Serializable

The RemoteObject class implements the Object behaviour for remote objects, by implementing methods for hashCode, equals, and toString.

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
          Compares the specified object with the remote object.
 int hashCode()
          Returns a hashcode for the remote object.
 java.lang.String toString()
          Returns a string representation of the value of this remote object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Returns a hashcode for the remote object.

Returns:
the hashcode.

equals

public boolean equals(java.lang.Object obj)
Compares the specified object with the remote object.

Parameters:
obj - the object to compare with
Returns:
the result of the comparison

toString

public java.lang.String toString()
Returns a string representation of the value of this remote object.

Returns:
the string representation for this remote object.


The Ibis project