|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
net.java.sip.communicator.impl.protocol.jabber.extensions.coin.StatePacketExtension
public class StatePacketExtension
State packet extension.
| Field Summary | |
|---|---|
static String |
ELEMENT_ACTIVE
Active element name. |
static String |
ELEMENT_LOCKED
Locked element name. |
static String |
ELEMENT_NAME
The name of the element that contains the state data. |
static String |
ELEMENT_USER_COUNT
Users count element name. |
static String |
NAMESPACE
The namespace that state belongs to. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
StatePacketExtension()
Constructor. |
|
| Method Summary | |
|---|---|
int |
getActive()
Get the active state. |
int |
getLocked()
Get the locked state. |
int |
getUserCount()
Get the user count. |
void |
setActive(int active)
Set the active state. |
void |
setLocked(int locked)
Set the locked state. |
void |
setUserCount(int userCount)
Set the user count. |
String |
toXML()
Get an XML string representation. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMESPACE
public static final String ELEMENT_NAME
public static final String ELEMENT_USER_COUNT
public static final String ELEMENT_ACTIVE
public static final String ELEMENT_LOCKED
| Constructor Detail |
|---|
public StatePacketExtension()
| Method Detail |
|---|
public void setUserCount(int userCount)
userCount - user countpublic void setActive(int active)
active - statepublic void setLocked(int locked)
locked - locked statepublic int getUserCount()
public int getActive()
public int getLocked()
public String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensiontoXML in class AbstractPacketExtension
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||