| Home | Trees | Index | Help |
|
|---|
|
|
| Method Summary | |
|---|---|
Initialize a MucRoomManager object. | |
Remove a room from the list of managed rooms. | |
MucRoomState |
Get the room state object of a room. |
MucRoomState |
Create and return a new room state object and request joining to a MUC room. |
Assign MUC stanza handlers to the self.stream. | |
Change the stream assigned to self. | |
bool |
Process an error message from a MUC room. |
bool |
Process a groupchat message from a MUC room. |
bool |
Process an available presence from a MUC room. |
bool |
Process an presence error from a MUC room. |
bool |
Process an unavailable presence from a MUC room. |
| Instance Variable Summary | |
|---|---|
rooms: a dictionary containing known MUC rooms. | |
stream: the stream associated with the room manager. | |
| Method Details |
|---|
__init__(self,
stream)
Initialize a |
forget(self, rs)Remove a room from the list of managed rooms.
|
get_room_state(self, room)Get the room state object of a room.
|
join(self, room, nick, handler, password=None, history_maxchars=None, history_maxstanzas=None, history_seconds=None, history_since=None)Create and return a new room state object and request joining to a MUC room.
|
set_handlers(self, priority=10)Assign MUC stanza handlers to theself.stream.
|
set_stream(self, stream)Change the stream assigned toself.
|
__error_message(self, stanza)Process an error message from a MUC room.
|
__groupchat_message(self, stanza)Process a groupchat message from a MUC room.
|
__presence_available(self, stanza)Process an available presence from a MUC room.
|
__presence_error(self, stanza)Process an presence error from a MUC room.
|
__presence_unavailable(self, stanza)Process an unavailable presence from a MUC room.
|
| Instance Variable Details |
|---|
roomsa dictionary containing known MUC rooms. Unicode room JIDs are the keys. |
streamthe stream associated with the room manager. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Dec 26 17:57:33 2005 | http://epydoc.sf.net |