Home | Trees | Index | Help |
|
---|
|
MucStanzaExt
--+ |Stanza
--+ | | |Presence
--+ | MucPresence
Presence
with MUC related interface.Method Summary | |
---|---|
Initialize a MucPresence object. | |
Return a copy of self . | |
Free the data associated with this MucPresence object. | |
MucX |
If self is a MUC room join request return the information contained. |
Make the presence stanza a MUC room join request. | |
Inherited from Presence | |
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. | |
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. | |
Inherited from MucStanzaExt | |
Remove the MUC specific stanza payload element. | |
MucX or MucUserX or MucAdminQuery or MucOwnerX |
Get the MUC specific payload element. |
MucAdminQuery |
Create <query xmlns="...muc#admin"/> element in the stanza. |
MucUserX |
Create <x xmlns="...muc#user"/> element in the stanza. |
Free MUC specific data. |
Instance Variable Summary | |
---|---|
Inherited from Stanza | |
libxml2.xmlNode |
xmlnode : stanza XML node. |
Class Variable Summary | |
---|---|
Inherited from Presence | |
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)Return a copy ofself .
|
free(self)Free the data associated with thisMucPresence object.
|
get_join_info(self)Ifself is a MUC room join request return the information contained.
|
make_join_request(self, password=None, history_maxchars=None, history_maxstanzas=None, history_seconds=None, history_since=None)Make the presence stanza a MUC room join request.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:48 2005 | http://epydoc.sf.net |