summaryrefslogtreecommitdiff
path: root/examples/custom_stanzas/stanza.py
blob: ca85a0f09175864076414b6b93134f06b0356564 (plain)
1
2
3
4
5
6
7
8
from sleekxmpp.xmlstream import ElementBase

class Action(ElementBase):
    name = 'action'
    namespace = 'sleekxmpp:custom:actions'
    plugin_attrib = 'action'
    interfaces = set(('method', 'param', 'status'))
    sub_interfaces = interfaces