JSJaC

Class JSJaCPresence

Object
   |
   +--JSJaCPacket
         |
         +--JSJaCPresence

class JSJaCPresence
extends JSJaCPacket


Models the XMPP notion of a 'presence' packet
Defined in JSJaCPacket.js


 
Fields inherited from class JSJaCPacket
xml
 
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, buildNode, appendNode
 

Constructor Detail

JSJaCPresence

JSJaCPresence()

Method Detail

getPriority

int getPriority()

getShow

String getShow()

getStatus

String getStatus()

setPresence

JSJaCPacket setPresence(<String> show,<String> status,<int> prio)

setPriority

JSJaCPacket setPriority(<int> prio)

setShow

JSJaCPacket setShow(<String> show)

setStatus

JSJaCPacket setStatus(<String> status)

JSJaC

Documentation generated by JSDoc on Tue Jan 5 02:48:26 2021