|
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.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
net.java.sip.communicator.impl.protocol.jabber.extensions.gtalk.SessionIQ
public class SessionIQ
A straightforward extension of the IQ. A SessionIQ object is created
by smack via the SessionIQProvider. It contains all the information
extracted from a Session IQ.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
|---|
org.jivesoftware.smack.packet.IQ.Type |
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
The name of the element that contains the session data. |
static String |
ID_ATTR_NAME
The name of the argument that contains the session id. |
static String |
INITIATOR_ATTR_NAME
The name of the argument that contains the "initiator" jid. |
static String |
NAMESPACE
The name space that session belongs to. |
static String |
TYPE_ATTR_NAME
The name of the argument that contains the session type value. |
| Fields inherited from class org.jivesoftware.smack.packet.Packet |
|---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
SessionIQ()
|
|
| Method Summary | |
|---|---|
static String |
generateSID()
Generates a random String usable as a session ID. |
String |
getChildElementXML()
Returns the XML string of this GTalk session IQ's "section" sub-element. |
GTalkType |
getGTalkType()
Returns the value of this element's action attribute. |
String |
getID()
Returns this element's session ID value. |
String |
getInitiator()
Returns the full JID of the entity that has initiated the session flow. |
ReasonPacketExtension |
getReason()
Returns this IQ's reason extension. |
void |
setGTalkType(GTalkType gtalkType)
Sets the value of this element's action attribute. |
void |
setID(String id)
Sets this element's session ID value. |
void |
setInitiator(String initiator)
Sets the full JID of the entity that has initiated the session flow. |
void |
setReason(ReasonPacketExtension reason)
Specifies this IQ's reason extension. |
| Methods inherited from class org.jivesoftware.smack.packet.IQ |
|---|
createErrorResponse, createResultIQ, getType, setType, toXML |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
|---|
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMESPACE
public static final String ELEMENT_NAME
public static final String TYPE_ATTR_NAME
public static final String INITIATOR_ATTR_NAME
public static final String ID_ATTR_NAME
| Constructor Detail |
|---|
public SessionIQ()
| Method Detail |
|---|
public void setID(String id)
id - the session ID to setpublic String getID()
public static String generateSID()
public void setInitiator(String initiator)
initiator - the full JID of the initiator.public String getInitiator()
public void setGTalkType(GTalkType gtalkType)
gtalkType - the value of the action attribute.public GTalkType getGTalkType()
public void setReason(ReasonPacketExtension reason)
reason - this IQ's reason extension.public ReasonPacketExtension getReason()
public String getChildElementXML()
getChildElementXML in class org.jivesoftware.smack.packet.IQ
|
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 | |||||||||