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
Serviceimplementing Blocking Command.This service maintains the list of blocked JIDs and allows manipulating the blocklist.
Attribute:
-
blocklist¶ Setof JIDs blocked by the account.
Signals:
-
signal
on_initial_blocklist_received(blocklist)¶ Fires when the initial blocklist was received from the server.
- Parameters
blocklist (
SetofJID) – the initial blocklist
-
signal
on_jids_blocked(blocked_jids)¶ Fires when additional JIDs are blocked.
- Parameters
blocked_jids (
SetofJID) – the newly blocked JIDs
-
signal
on_jids_blocked(blocked_jids)¶ Fires when JIDs are unblocked.
- Parameters
unblocked_jids (
SetofJID) – the now unblocked JIDs
Coroutine methods:
-