|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.scribe.Topic
| Field Summary | |
protected Id |
id
The Id to which this topic is mapped |
| Constructor Summary | |
Topic(Id id)
Constructor which takes an Id for this topic |
|
Topic(IdFactory factory,
java.lang.String name)
Constructor which takes a name for this topic |
|
Topic(InputBuffer buf,
Endpoint endpoint)
Constructor for Topic. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Returns whether this is equal to o or not |
Id |
getId()
Returns the Id to which this topic is mapped |
static Id |
getId(IdFactory factory,
java.lang.String name)
Returns the Id to which the string is mapped |
int |
hashCode()
Returns the hashCode for this topic |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
Returns a String representation of this topic |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Id id
| Constructor Detail |
public Topic(Id id)
id - The Id for this topic
public Topic(IdFactory factory,
java.lang.String name)
factory - The factory to use when creating the idname - The name for this topic
public Topic(InputBuffer buf,
Endpoint endpoint)
throws java.io.IOException
buf - DESCRIBE THE PARAMETERendpoint - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION| Method Detail |
public Id getId()
public boolean equals(java.lang.Object o)
o - The object to compare to
public int hashCode()
public java.lang.String toString()
public void serialize(OutputBuffer buf)
throws java.io.IOException
buf - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
public static Id getId(IdFactory factory,
java.lang.String name)
factory - The factory to use when creating the idname - The string to map
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||