Package pyxmpp :: Package jabber :: Module muccore :: Class MucStatus
[show private | hide private]
[frames | no frames]

Type MucStatus

 object --+    
          |    
MucItemBase --+
              |
             MucStatus


MUC <item/> element - describes special meaning of a stanza
Method Summary
  __init__(self, xmlnode_or_code)
Initialize a MucStatus element.
libxml2.xmlNode as_xml(self, parent)
Create XML representation of self.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Instance Variable Summary
int code: staus code, as defined in JEP 45

Method Details

__init__(self, xmlnode_or_code)
(Constructor)

Initialize a MucStatus element.
Parameters:
xmlnode_or_code - XML node to parse or a status code.
           (type=libxml2.xmlNode or int)
Overrides:
pyxmpp.jabber.muccore.MucItemBase.__init__

as_xml(self, parent)

Create XML representation of self.
Parameters:
parent - the element to which the created node should be linked to.
           (type=libxml2.xmlNode)
Returns:
an XML node.
           (type=libxml2.xmlNode)

Instance Variable Details

code

staus code, as defined in JEP 45
Type:
int