| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Room
A Campfire room.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Instance Variables | |
|
id The room id. |
|
|
name The name of the room. |
|
|
uri The urlparsed URI of the room. |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
Joins the room; if 'force' is True join even if already joined. Returns True if successfully joined, False otherwise. |
Leaves the room. Returns True if successfully left, False otherwise. |
Toggles guest access on and off. Returns True if successfully toggled, False otherwise. |
Checks if the guest access is enabled. Returns True if the guest access is enabled, False otherwise. |
Gets the URL for guest access. Returns None if the guest access is not enabled. |
Gets the invite code for guest access. Returns None if the guest access is not enabled. |
Changes the name of the room. Returns the new name if successfully changed, None otherwise. |
Changes the name of the room. Returns the new name if successfully changed, None otherwise. |
Changes the topic of the room. Returns the new topic if successfully changed, None otherwise. |
Locks the room to prevent new users from entering. Returns True if successfully locked, False otherwise. |
Unlocks the room. Returns True if successfully unlocked, False otherwise. |
Pings the server updating the last time we have been seen there. Returns True if successfully pinged, False otherwise. |
Destroys the room. Returns True if successfully destroyed, False otherwise. |
Lists the users chatting in the room. Returns a set of the users. |
Send a message to the room. Returns the message if successfully sent it, None otherwise. |
Paste a message to the room. Returns the message if successfully pasted it, None otherwise. |
Gets the dates of transcripts of the room. Returns a list of dates. |
Get the transcript for the given date (a datetime.date instance). Returns a list of message data: * id: the id of the message * person: the name of the person who wrote the message if any * user_id: the user id of the person if any * message: the message itself if any |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun May 18 15:07:02 2008 | http://epydoc.sourceforge.net |