|
JSJaC | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--JSJaCPacket
|
+--JSJaCPresence
Models the XMPP notion of a 'presence' packet
Defined in JSJaCPacket.js
| Constructor Summary | |
JSJaCPresence()
A jabber/XMPP presence packet |
|
| Method Summary | |
int
|
getPriority()
Gets the priority of this status message |
String
|
getShow()
Gets the status of this presence. |
String
|
getStatus()
Gets the status message of this presence |
JSJaCPacket
|
setPresence(<String> show,<String> status,<int> prio)
Some combined method that allowes for setting show, status and priority at once |
JSJaCPacket
|
setPriority(<int> prio)
Sets the priority of the resource bind to with this connection |
JSJaCPacket
|
setShow(<String> show)
Sets the online status for this presence packet. |
JSJaCPacket
|
setStatus(<String> status)
Sets the status message for current status. |
| Methods inherited from class JSJaCPacket |
pType, getDoc, getNode, setTo, setFrom, setID, setType, setXMLLang, getTo, getFrom, getToJID, getFromJID, getID, getType, getXMLLang, getXMLNS, getChild, getChildVal, clone, isError, errorReply, xml, buildNode, appendNode
|
| Constructor Detail |
JSJaCPresence()
| Method Detail |
int getPriority()
String getShow()
String getStatus()
JSJaCPacket setPresence(<String> show,<String> status,<int> prio)
show - A status message
status - A status indicator as defined by XMPP
prio - A priority for this resource
JSJaCPacket setPriority(<int> prio)
prio - The priority to set this resource to
JSJaCPacket setShow(<String> show)
show - An XMPP complient status indicator. Must be one of 'chat', 'away', 'xa', 'dnd'
JSJaCPacket setStatus(<String> status)
status - A status message
|
JSJaC | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||