Part of twisted.words.iwords View Source View In Hierarchy
Known implementations: twisted.words.service.WordsRealm
| Attribute | name | A short string identifying this chat service (eg, a hostname) | 
| Attribute | createGroupOnRequest | A boolean indicating whether getGroupshould implicitly create groups which are requested but which do not yet 
exist. | 
| Attribute | createUserOnRequest | A boolean indicating whether getUsershould implicitly create users which are requested but which do not yet 
exist. | 
| Method | itergroups | Return all groups available on this service. | 
| Method | getGroup | Retrieve the group by the given name. | 
| Method | createGroup | Create a new group with the given name. | 
| Method | lookupGroup | Retrieve a group by name. | 
| Method | getUser | Retrieve the user by the given name. | 
| Method | createUser | Create a new user with the given name. | 
getGroup
should implicitly create groups which are requested but which do not yet 
exist.
getUser
should implicitly create users which are requested but which do not yet 
exist.
| Returns | A Deferred which fires with a list of IGroupproviders.
 (type:twisted.internet.defer.Deferred) | |
| Parameters | name | (type: str) | 
| Returns | A Deferred which fires with the group with the given name if one exists 
(or if one is created due to the setting of createGroupOnRequest,
or which fails withtwisted.words.ewords.NoSuchGroupif no such group exists.
 (type:twisted.internet.defer.Deferred) | |
| Parameters | name | (type: str) | 
| Returns | A Deferred which fires with the created group, or with fails with twisted.words.ewords.DuplicateGroupif a group by that name exists already.
 (type:twisted.internet.defer.Deferred) | |
Retrieve a group by name.
UnlikegetGroup, this will never implicitly create a 
group.
| Parameters | name | (type: str) | 
| Returns | A Deferred which fires with the group by the given name, or which fails 
with twisted.words.ewords.NoSuchGroup.
 (type:twisted.internet.defer.Deferred) | |
| Parameters | name | (type: str) | 
| Returns | A Deferred which fires with the user with the given name if one exists 
(or if one is created due to the setting of createUserOnRequest,
or which fails withtwisted.words.ewords.NoSuchUserif no such user exists.
 (type:twisted.internet.defer.Deferred) | |
| Parameters | name | (type: str) | 
| Returns | A Deferred which fires with the created user, or with fails with twisted.words.ewords.DuplicateUserif a user by that name exists already.
 (type:twisted.internet.defer.Deferred) | |