|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgcs.GcsGroup
gcsImplementations.spreadGcs.SpreadGcsGroup
public class SpreadGcsGroup
Spread back-end implementation of the GcsGroup.
GcsGroup| Constructor Summary | |
|---|---|
SpreadGcsGroup()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns true if object given by the argument represents the same group as this object, false otherwise. |
void |
join(GcsConnection connection,
java.lang.String name)
Allows joining group of a given name using specified GcsConnection object. |
void |
leave()
Allows leaving the group represented by this object. |
java.lang.String |
toString()
Returns the group's name as a string. |
org.jdom.Element |
toXml()
Returns the XML representation of the group. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpreadGcsGroup()
| Method Detail |
|---|
public boolean equals(java.lang.Object object)
GcsGroup
equals in class GcsGroupobject - object which should be compared with this group object
public void join(GcsConnection connection,
java.lang.String name)
throws GcsException
GcsGroupGcsConnection object.
join in class GcsGroupconnection - connection used to communicate with group communication systemname - name of the group to be joined
GcsException - if joining group failed
public void leave()
throws GcsException
GcsGroup
leave in class GcsGroupGcsException - if leaving group failedpublic java.lang.String toString()
GcsGroup
toString in class GcsGrouppublic org.jdom.Element toXml()
GcsGroup
toXml in class GcsGroup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||