|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.appia.protocols.group.Endpt
public class Endpt
Endpt represents a group member, endpoint.
Each member of a group, or groups, has a unique identifier.
ViewState
,
Serialized FormField Summary | |
---|---|
java.lang.String |
id
The endpoint identifier. |
Constructor Summary | |
---|---|
Endpt()
Constructs an anonimous endpoint. |
|
Endpt(java.lang.String name)
Constructs an endpoint using the given String . |
Method Summary | |
---|---|
boolean |
equals(Endpt e)
Tests if the endpoint represented by the given Endpt is the same one represented by this Endpt. |
boolean |
equals(java.lang.Object o)
Redefines Object.equals() . |
int |
hashCode()
Redefines Object.hashCode() . |
static Endpt |
peek(Message message)
|
static Endpt |
pop(Message message)
|
static void |
push(Endpt endpt,
Message message)
|
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
Converts the endpoint to a String . |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String id
Constructor Detail |
---|
public Endpt()
Object.hashCode()
.
public Endpt(java.lang.String name)
String
.
name
- The name to be used as endpoint identifier.Method Detail |
---|
public boolean equals(Endpt e)
e
- the other Endpt
public boolean equals(java.lang.Object o)
Object.equals()
.
equals
in class java.lang.Object
o
- The object to compare.
public java.lang.String toString()
String
.
toString
in class java.lang.Object
String
of the endpoint.public int hashCode()
Object.hashCode()
.
hashCode
in class java.lang.Object
public static void push(Endpt endpt, Message message)
public static Endpt pop(Message message)
public static Endpt peek(Message message)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |