def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [] self._proxy_resolver = None self._soup_session = Soup.Session()
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='presence', callback=self._process_presence_base, priority=10), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_security_label, ns=Namespace.SECLABEL, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_marker, ns=Namespace.CHATMARKERS, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_eme, ns=Namespace.EME, priority=40) ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='presence', callback=self._process_idle, ns=Namespace.IDLE, priority=15) ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_correction, ns=Namespace.CORRECT, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_pubsub_bookmarks, ns=Namespace.PUBSUB_EVENT, priority=16), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_attention, ns=Namespace.ATTENTION, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_chatstate, ns=Namespace.CHATSTATES, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_oob, ns=Namespace.X_OOB, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', callback=self._process_ping, typ='get', ns=Namespace.PING, priority=15), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', callback=self._process_disco_info, typ='get', ns=Namespace.DISCO_INFO, priority=90), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', callback=self._process_roster_push, typ='set', priority=15, ns=Namespace.ROSTER), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', priority=15, callback=self._process_blocking_push, typ='set', ns=Namespace.BLOCKING), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_base, priority=5), StanzaHandler(name='message', callback=self._process_message_after_base, priority=10), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_http_auth, ns=Namespace.HTTP_AUTH, priority=40), StanzaHandler(name='iq', callback=self._process_http_auth, typ='get', ns=Namespace.HTTP_AUTH, priority=40) ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_omemo_devicelist, ns=Namespace.PUBSUB_EVENT, priority=16), StanzaHandler(name='message', callback=self._process_omemo_message, ns=Namespace.OMEMO_TEMP, priority=7), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_pgplegacy_message, ns=Namespace.ENCRYPTED, priority=7), StanzaHandler(name='presence', callback=self._process_signed, ns=Namespace.SIGNED, priority=15) ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_message_delay, ns=Namespace.DELAY2, priority=15), StanzaHandler(name='presence', callback=self._process_presence_delay, ns=Namespace.DELAY2, priority=15) ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_pubsub_openpgp, ns=Namespace.PUBSUB_EVENT, priority=16), StanzaHandler(name='message', callback=self._process_openpgp_message, ns=Namespace.OPENPGP, priority=7), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', callback=self._answer_request, priority=60, typ='get', ns=Namespace.LAST), ] self._idle_func = None self._allow_reply_func = None
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='iq', callback=self._answer_request, typ='get', priority=60, ns=Namespace.VERSION), ] self._name = None self._version = None self._os = None self._enabled = False self._allow_reply_func = None
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='message', callback=self._process_pubsub_nickname, ns=Namespace.PUBSUB_EVENT, priority=16), StanzaHandler(name='message', callback=self._process_nickname, ns=Namespace.NICK, priority=40), StanzaHandler(name='presence', callback=self._process_nickname, ns=Namespace.NICK, priority=40), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='presence', callback=self._process_entity_caps, ns=Namespace.CAPS, priority=15), StanzaHandler(name='iq', callback=self._process_disco_info, typ='get', ns=Namespace.DISCO_INFO, priority=20), ] self._identities = [] self._features = [] self._uri = None self._node = None self._caps = None self._caps_hash = None
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = [ StanzaHandler(name='presence', callback=self._process_muc_presence, ns=Namespace.MUC, priority=11), StanzaHandler(name='presence', callback=self._process_muc_user_presence, ns=Namespace.MUC_USER, priority=11), StanzaHandler(name='message', callback=self._process_groupchat_message, typ='groupchat', priority=6), StanzaHandler(name='message', callback=self._process_mediated_invite, typ='normal', ns=Namespace.MUC_USER, priority=11), StanzaHandler(name='message', callback=self._process_direct_invite, typ='normal', ns=Namespace.CONFERENCE, priority=12), StanzaHandler(name='message', callback=self._process_voice_request, ns=Namespace.DATA, priority=11), StanzaHandler(name='message', callback=self._process_message, ns=Namespace.MUC_USER, priority=13), ]
def __init__(self, client): BaseModule.__init__(self, client) self._client = client self.handlers = []