abort.py 513 Bytes
Newer Older
1 2 3 4
# Slixmpp: The Slick XMPP Library
# Copyright (C) 2011  Nathanael C. Fritz
# This file is part of Slixmpp.
# See the file LICENSE for copying permission.
louiz’'s avatar
louiz’ committed
5
from slixmpp.xmlstream import StanzaBase
mathieui's avatar
mathieui committed
6
from typing import ClassVar, Set
7 8 9 10 11 12 13 14 15


class Abort(StanzaBase):

    """
    """

    name = 'abort'
    namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
mathieui's avatar
mathieui committed
16
    interfaces: ClassVar[Set[str]] = set()
17 18 19 20 21
    plugin_attrib = name

    def setup(self, xml):
        StanzaBase.setup(self, xml)
        self.xml.tag = self.tag_name()