ePOST API

rice.post
Class PostEntityAddress

java.lang.Object
  extended by rice.post.PostEntityAddress
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PostGroupAddress, PostUserAddress

public abstract class PostEntityAddress
extends java.lang.Object
implements java.io.Serializable

This class represents the abstract notion of the address of an identity in the Post system. This class is designed to be extended have address for both Post users and groups of users.

Version:
$Id: PostEntityAddress.java 2808 2005-11-22 14:38:49Z jeffh $
See Also:
Serialized Form

Constructor Summary
PostEntityAddress()
          Constructor
 
Method Summary
abstract  Id getAddress()
           
protected static Id getId(IdFactory factory, java.lang.String string, Environment env)
          Utility method for creating the nodeId associated with a specific string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEntityAddress

public PostEntityAddress()
Constructor

Method Detail

getAddress

public abstract Id getAddress()
Returns:
The NodeId which this address maps to.

getId

protected static Id getId(IdFactory factory,
                          java.lang.String string,
                          Environment env)
Utility method for creating the nodeId associated with a specific string.

Parameters:
string - The string

ePOST API

Copyright © 2001-2005 - Rice Pastry.