class twisted.words.service.User: (source)
Implements interfaces: twisted.words.iwords.IUser
Undocumented
Instance Variable | realm | A reference to the Realm to which this user belongs. Set if and only if the user is logged in. |
Instance Variable | mind | A reference to the mind which logged in to this user. Set if and only if the user is logged in. |
Method | __init__ | Undocumented |
Instance Variable | name | A short string, unique among users. |
Instance Variable | groups | Undocumented |
Instance Variable | lastMessage | A POSIX timestamp indicating the time of the last message received from this user. |
Method | loggedIn | Invoked by the associated IChatService when login occurs. |
Instance Variable | signOn | A POSIX timestamp indicating this user's most recent sign on time. |
Method | join | Attempt to join the given group. |
Method | leave | Discontinue participation in the given group. |
Method | send | Send the given message to the given user or group. |
Method | itergroups | Return an iterator of all groups of which this user is a member. |
Method | logout | Undocumented |
A reference to the Realm to which this user belongs. Set if and only if the user is logged in.
A reference to the mind which logged in to this user. Set if and only if the user is logged in.
A POSIX timestamp indicating the time of the last message received from this user.
Invoked by the associated IChatService
when login occurs.
Parameters | realm | The IChatService through which login is occurring. |
mind | The mind object used for cred login. |
Attempt to join the given group.
Parameters | group | Undocumented (type: IGroup ) |
Returns | Undocumented (type: twisted.internet.defer.Deferred ) |
Discontinue participation in the given group.
Parameters | group | Undocumented (type: IGroup ) |
reason | Undocumented | |
Returns | Undocumented (type: twisted.internet.defer.Deferred ) |