|
|
__init__(self,
to=None,
typ=None,
priority=None,
show=None,
status=None,
attrs={},
frm=None,
timestamp=None,
payload=[],
xmlns='jabber:client',
node=None)
Create presence object. |
source code
|
|
|
|
getPriority(self)
Returns the priority of the message. |
source code
|
|
|
|
getShow(self)
Returns the show value of the message. |
source code
|
|
|
|
getStatus(self)
Returns the status string of the message. |
source code
|
|
|
|
setPriority(self,
val)
Sets the priority of the message. |
source code
|
|
|
|
setShow(self,
val)
Sets the show value of the message. |
source code
|
|
|
|
setStatus(self,
val)
Sets the status string of the message. |
source code
|
|
|
|
|
|
|
|
|
|
getRole(self)
Returns the presence role (for groupchat) |
source code
|
|
|
|
getAffiliation(self)
Returns the presence affiliation (for groupchat) |
source code
|
|
|
|
getNick(self)
Returns the nick value (for nick change in groupchat) |
source code
|
|
|
|
getJid(self)
Returns the presence jid (for groupchat) |
source code
|
|
|
|
getReason(self)
Returns the reason of the presence (for groupchat) |
source code
|
|
|
|
getActor(self)
Returns the reason of the presence (for groupchat) |
source code
|
|
|
|
getStatusCode(self)
Returns the status code of the presence (for groupchat) |
source code
|
|
|
Inherited from Protocol:
__setitem__,
getError,
getErrorCode,
getFrom,
getID,
getProperties,
getTimestamp,
getTo,
getType,
setError,
setFrom,
setID,
setTimestamp,
setTo,
setType
Inherited from simplexml.Node:
__delitem__,
__getattr__,
__getitem__,
__str__,
addChild,
addData,
clearData,
delAttr,
delChild,
getAttr,
getAttrs,
getCDATA,
getChildren,
getData,
getName,
getNamespace,
getParent,
getPayload,
getTag,
getTagAttr,
getTagData,
getTags,
has_attr,
setAttr,
setData,
setName,
setNamespace,
setParent,
setPayload,
setTag,
setTagAttr,
setTagData
|