Home | Trees | Index | Help |
|
---|
|
Stanza
--+
|
Presence
MucPresence
Method Summary | |
---|---|
Initialize a Presence object. | |
Presence |
Create a deep copy of the presence stanza. |
int |
Get presence priority. |
unicode |
Get presence "show" field. |
unicode |
Get presence status description. |
Presence |
Create "accept" response for the "subscribe"/"subscribed"/"unsubscribe"/"unsubscribed" presence stanza. |
Presence |
Create "deny" response for the "subscribe"/"subscribed"/"unsubscribe"/"unsubscribed" presence stanza. |
Presence |
Create error response for the any non-error presence stanza. |
Change presence priority. | |
Change presence "show" field. | |
Change presence status description. | |
Inherited from Stanza | |
| |
| |
| |
Add an XML node to the stanza's payload. | |
Add a new XML element to the stanza payload. | |
Free the node associated with this Stanza object. | |
pyxmpp.error.StanzaErrorNode |
Get stanza error information. |
unicode |
Get "from" attribute of the stanza. |
unicode |
Get "from" attribute of the stanza. |
unicode |
Get "id" attribute of the stanza. |
libxml2.xmlNode |
Return the XML node wrapped into self . |
unicode |
Get "id" attribute of the stanza. |
unicode |
Get "type" attribute of the stanza. |
unicode |
Get "to" attribute of the stanza. |
unicode |
Get "to" attribute of the stanza. |
unicode |
Get "type" attribute of the stanza. |
str |
Serialize the stanza into an UTF-8 encoded XML string. |
Set stanza content to an XML node. | |
Set "from" attribute of the stanza. | |
Set "id" attribute of the stanza. | |
Set stanza payload to a new XML element. | |
Set "to" attribute of the stanza. | |
Set "type" attribute of the stanza. | |
Evaluate an XPath expression on the stanza XML node. |
Instance Variable Summary | |
---|---|
Inherited from Stanza | |
libxml2.xmlNode |
xmlnode : stanza XML node. |
pyxmpp.error.StanzaErrorNode |
_error : pyxmpp.error.StanzaErrorNode describing the error associated with
the stanza of type "error". |
Class Variable Summary | |
---|---|
str |
stanza_type = 'presence'
|
Method Details |
---|
__init__(self,
xmlnode=None,
from_jid=None,
to_jid=None,
stanza_type=None,
stanza_id=None,
show=None,
status=None,
priority=0,
error=None,
error_cond=None)
Initialize a |
copy(self)Create a deep copy of the presence stanza.
|
get_priority(self)Get presence priority.
|
get_show(self)Get presence "show" field.
|
get_status(self)Get presence status description.
|
make_accept_response(self)Create "accept" response for the "subscribe"/"subscribed"/"unsubscribe"/"unsubscribed" presence stanza.
|
make_deny_response(self)Create "deny" response for the "subscribe"/"subscribed"/"unsubscribe"/"unsubscribed" presence stanza.
|
make_error_response(self, cond)Create error response for the any non-error presence stanza.
|
set_priority(self, priority)Change presence priority.
|
set_show(self, show)Change presence "show" field.
|
set_status(self, status)Change presence status description.
|
Class Variable Details |
---|
stanza_type
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:43 2005 | http://epydoc.sf.net |