blocking
— Blocking Command support (XEP-0191)¶
This subpackage provides client side support for XEP-0191.
The public interface of this package consists of a single
Service
:
-
class
aioxmpp.
BlockingClient
(client, **kwargs)[source]¶ A
Service
implementing Blocking Command.This service maintains the list of blocked JIDs and allows manipulating the blocklist.
Attribute:
Signals:
-
signal
on_initial_blocklist_received
(blocklist)¶ Fires when the initial blocklist was received from the server.
-
signal
on_jids_blocked
(blocked_jids)¶ Fires when additional JIDs are blocked.
-
signal
on_jids_blocked
(blocked_jids)¶ Fires when JIDs are unblocked.
Coroutine methods:
-
async
block_jids
(jids_to_block)[source]¶ Add the JIDs in the sequence jids_to_block to the client’s blocklist.
-
signal