Rice Pastry API

rice.pastry.multiring.messaging
Class MultiRingApplAddress

java.lang.Object
  |
  +--rice.pastry.multiring.messaging.MultiRingApplAddress
All Implemented Interfaces:
Address, java.io.Serializable

public class MultiRingApplAddress
extends java.lang.Object
implements Address

The application address for MultiRingAppl. This class follows the Singleton pattern.

Version:
$Id: MultiRingApplAddress.java,v 1.1 2003/03/18 03:08:23 amislove Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
          Determines if another object is equal to this one.
 int hashCode()
          Returns the code representing the address.
static rice.pastry.multiring.messaging.MultiRingApplAddress instance()
          Returns the single instance of MultiRingApplAddress.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static rice.pastry.multiring.messaging.MultiRingApplAddress instance()
Returns the single instance of MultiRingApplAddress.


hashCode

public int hashCode()
Returns the code representing the address.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Determines if another object is equal to this one. Simply checks if it is an instance of MultiRingApplAddress since there is only one instance ever created.

Overrides:
equals in class java.lang.Object

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection