|
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
public class 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)
|
|
| 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)
|
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
java.io.IOException| Method Detail |
|---|
public Id getId()
public static Id getId(IdFactory factory,
java.lang.String name)
factory - The factory to use when creating the idname - The string to map
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object to compare to
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void serialize(OutputBuffer buf)
throws java.io.IOException
java.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||