rice.post
Class PostClientAddress
java.lang.Object
   rice.post.PostClientAddress
rice.post.PostClientAddress
- 
All Implemented Interfaces: 
- java.io.Serializable
- 
public final class PostClientAddress 
- extends java.lang.Object- implements java.io.Serializable
This class represents the notion of an address, which
 uniquely identifies an application running on top of the
 POST service. This class is designed using the factory
 pattery, with the getAddress() method as the entrance
 into the factory.
- Version:
- $Id: PostClientAddress.java 2081 2004-10-02 16:47:05Z amislove $
- See Also:
- Serialized Form
| Field Summary | 
| protected  java.lang.String | name
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
name
protected java.lang.String name
PostClientAddress
public PostClientAddress(java.lang.String name)
- Constructor
 
equals
public boolean equals(java.lang.Object o)
- 
- Overrides:
- 
equalsin classjava.lang.Object
 
- 
 
getAddress
public static PostClientAddress getAddress(PostClient client)
- Method by which one can generate a PostClientAddress.  This
 method will always return the same address given the same
 PostClient class.
 
- 
 
- 
- Parameters:
- 
client- The client wanting an address
- Returns:
- A unique address for this class of client
 
hashCode
public int hashCode()
- 
- Overrides:
- 
hashCodein classjava.lang.Object
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- 
toStringin classjava.lang.Object
 
- 
 
Copyright © 2001-2005 - Rice Pastry.