Part of twisted.words.service View Source View In Hierarchy
Implements interfaces: twisted.words.iwords.IGroup
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 48 | Method | __init__ | Undocumented |
| 68 | Method | add | Include the given user in this group. |
| 82 | Method | remove | Remove the given user from this group. |
| 99 | Method | size | Return the number of participants in this group. |
| 103 | Method | receive | Broadcast the given message from the given sender to other |
| 115 | Method | setMetadata | Change the metadata associated with this group. |
| 126 | Method | iterusers | Return an iterator of all users in this group. |
| 57 | Method | _ebUserCall | Undocumented |
| 61 | Method | _cbUserCall | Undocumented |
| Parameters | user | (type: IUser
) |
| reason | (type: unicode
) |
| Returns | A Deferred which fires with an int representing the the
number of participants in this group.
(type: twisted.internet.defer.Deferred
) | |
Broadcast the given message from the given sender to other users in group.
The message is not re-transmitted to the sender.| Parameters | sender | IUser
|
| 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.
(type: IGroup
) | |
| message | dict
| |
| Returns | A Deferred which fires with None when delivery has been attempted for
all users.
(type: twisted.internet.defer.Deferred
) | |
| Parameters | meta | (type: dict
) |