| Home | Trees | Index | Help |
|
|---|
| Package pyxmpp :: Package jabber :: Module muccore :: Class MucIq |
|
Stanza--+ |Iq--+ |MucStanzaExt--+ | MucIq
Extend `Iq` with MUC related interface.
| Method Summary | |
|---|---|
Initialize an `Iq` object. | |
Return a copy of `self`. | |
Free the data associated with this `MucIq` object. | |
Make the iq stanza a MUC room participant kick request. | |
| Inherited from Iq | |
Get the payload element of the stanza. | |
Get a namespace of the stanza payload. | |
Create error response for the a "get" or "set" iq stanza. | |
Create result response for the a "get" or "set" iq stanza. | |
Create new payload element for the stanza. | |
| Inherited from Stanza | |
| |
| |
| |
Add an XML node to the stanza's payload. | |
Add a new XML element to the stanza payload. | |
Get stanza error information. | |
Get "from" attribute of the stanza. | |
Get "from" attribute of the stanza. | |
Get "id" attribute of the stanza. | |
Return the XML node wrapped into `self`. | |
Get "id" attribute of the stanza. | |
Get "type" attribute of the stanza. | |
Get "to" attribute of the stanza. | |
Get "to" attribute of the stanza. | |
Get "type" attribute of the stanza. | |
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. | |
Get the MUC specific payload element. | |
Create <query xmlns="...muc#admin"/> element in the stanza. | |
Create <x xmlns="...muc#user"/> element in the stanza. | |
Free MUC specific data. | |
| Class Variable Summary | |
|---|---|
| Inherited from Iq | |
str |
stanza_type = 'iq'
|
| Method Details |
|---|
__init__(self,
xmlnode=None,
from_jid=None,
to_jid=None,
stanza_type=None,
stanza_id=None,
error=None,
error_cond=None)
|
copy(self)Return a copy of `self`.
|
free(self)Free the data associated with this `MucIq` object.
|
make_kick_request(self, nick, reason)
Make the iq stanza a MUC room participant kick request.
:Parameters:
- `nick`: nickname of user to kick.
- `reason`: reason of the kick.
:Types:
- `nick`: `unicode`
- `reason`: `unicode`
:return: object describing the kick request details.
:returntype: `MucItem`
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 31 22:37:05 2006 | http://epydoc.sf.net |