/usr/lib/python3/dist-packages/twisted/words/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/words/__pycache__/iwords.cpython-310.pyc (10665B)
o
b! @ sl d dl mZmZ G dd deZG dd deZG dd deZG dd d eZG d
d deZg dZd
S ) ) Attribute Interfacec @ s e Zd ZdZedZdd ZdS )IProtocolPluginz?Interface for plugins providing an interface to a Words servicezHA single word describing what kind of interface this is (eg, irc or web)c C dS )ab Retrieve a C{twisted.internet.interfaces.IServerFactory} provider
@param realm: An object providing C{twisted.cred.portal.IRealm} and
L{IChatService}, with which service information should be looked up.
@param portal: An object providing C{twisted.cred.portal.IPortal},
through which logins should be performed.
N )realmportalr r 6/usr/lib/python3/dist-packages/twisted/words/iwords.py
getFactory zIProtocolPlugin.getFactoryN)__name__
__module____qualname____doc__r namer
r r r r r s r c @ sF e Zd ZedZdd ZdddZdd Zd d
Zdd Z d
d Z
dS )IGroupz$A short string, unique among groups.c C r )zLInclude the given user in this group.
@type user: L{IUser}
Nr )userr r r add r z
IGroup.addNc C r )znRemove the given user from this group.
@type user: L{IUser}
@type reason: C{unicode}
Nr )r reasonr r r remove# r z
IGroup.removec C r )zReturn the number of participants in this group.
@rtype: L{twisted.internet.defer.Deferred}
@return: A Deferred which fires with an C{int} representing the
number of participants in this group.
Nr r r r r size* r zIGroup.sizec C r )aY
Broadcast the given message from the given sender to other
users in group.
The message is not re-transmitted to the sender.
@param sender: L{IUser}
@type recipient: L{IGroup}
@param recipient: This is probably a wart. Maybe it will be removed
in the future. For now, it should be the group object the message
is being delivered to.
@param message: C{dict}
@rtype: L{twisted.internet.defer.Deferred}
@return: A Deferred which fires with None when delivery has been
attempted for all users.
Nr sender recipientmessager r r receive2 r zIGroup.receivec C r )zUChange the metadata associated with this group.
@type meta: C{dict}
Nr )metar r r setMetadataG r zIGroup.setMetadatac C r )z.Return an iterator of all users in this group.Nr r r r r iterusersM r zIGroup.iterusersN)r r
r r r r r r r r r r r r r r s
r c @ s: e Zd ZdZedZdd Zdd Zdd Zdd
dZ d S )
IChatClientz