ibis.rmi.server
Class RemoteObject

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

public abstract class RemoteObject
extends Object
implements Remote, 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(Object obj)
          Compares the specified object with the remote object.
 int hashCode()
          Returns a hashcode for the remote object.
 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.

Overrides:
hashCode in class Object
Returns:
the hashcode.

equals

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

Overrides:
equals in class Object
Parameters:
obj - the object to compare with
Returns:
the result of the comparison

toString

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

Overrides:
toString in class Object
Returns:
the string representation for this remote object.


The Ibis project