|
|||||||||
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 GcsGroup
object
- object which should be compared with this group object
public void join(GcsConnection connection, java.lang.String name) throws GcsException
GcsGroup
GcsConnection
object.
join
in class GcsGroup
connection
- connection used to communicate with group communication systemname
- name of the group to be joined
GcsException
- if joining group failedpublic void leave() throws GcsException
GcsGroup
leave
in class GcsGroup
GcsException
- if leaving group failedpublic java.lang.String toString()
GcsGroup
toString
in class GcsGroup
public 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 |