|
__init__(self,
name,
muc,
subject=None,
template=None,
creator=None,
whitelist=[ ] ,
blacklist=[ ] ,
password=None) |
source code
|
|
|
|
|
|
|
getRoomName(self)
Get the room's RoomName (display name) |
source code
|
|
|
setRoomName(self,
name)
Set the room's RoomName (display name) |
source code
|
|
|
getSubject(self)
Get the room's Subject (topic) |
source code
|
|
|
setSubject(self,
name)
Set the room's Subject (topic) |
source code
|
|
|
getRoomDesc(self)
Get the room's Description |
source code
|
|
|
setRoomDesc(self,
name)
Set the room's Description |
source code
|
|
|
isLogging(self)
Check if message logging is enabled in the room |
source code
|
|
|
setLogging(self,
val)
Enable or disable message logging in the room |
source code
|
|
|
getLang(self)
Get the language used in the room |
source code
|
|
|
setLang(self,
name)
Set the language used in the room |
source code
|
|
|
isChangeSubject(self)
Check wether the subject can be changed in the room |
source code
|
|
|
setChangeSubject(self,
val)
Allow or disallow users to change the subject of the room |
source code
|
|
|
isAllowInvites(self)
Check wether invitations are allowed in the room |
source code
|
|
|
setAllowInvites(self,
val)
Enable or disable invitations to the room |
source code
|
|
|
getMaxUsers(self)
Gets maximum number of concurrent users in the room |
source code
|
|
|
setMaxUsers(self,
m)
Gets maximum number of concurrent users in the room |
source code
|
|
|
getMinUsers(self)
Gets minimum number of concurrent users in the room |
source code
|
|
|
setMinUsers(self,
m)
Gets maximum number of concurrent users in the room |
source code
|
|
|
getPresenceBroadcast(self)
Get the list of roles which receive presence stanzas broadcasted in
the room |
source code
|
|
|
addPresenceBroadcast(self,
name)
Add a role to the list of roles which receive presence stanzas
broadcasted in the room |
source code
|
|
|
delPresenceBroadcast(self,
name)
Remove a role from the list of roles which receive presence stanzas
broadcasted in the room |
source code
|
|
|
isPublicRoom(self)
Check wether the room is public |
source code
|
|
|
|
|
isPersistentRoom(self)
Check wether the room is persistent |
source code
|
|
|
|
|
isModeratedRoom(self)
Check wether the room is moderated |
source code
|
|
|
|
|
|
|
setLockedDown(self,
val)
Lock or unlock down the room |
source code
|
|
|
isAllowRegister(self)
Check wether the room allows the registration process |
source code
|
|
|
setAllowRegister(self,
val)
Enable or disable the registration process to the room |
source code
|
|
|
isMembersOnly(self)
Check wether the room is members-only |
source code
|
|
|
|
|
isPasswordProtectedRoom(self)
Check wether entrance to the room is protected by a password |
source code
|
|
|
|
|
getPassword(self)
Get the password of the room |
source code
|
|
|
setPassword(self,
name)
Set the actual password of the room |
source code
|
|
|
|
|
|
|
getRoomAdmins(self)
Get the list of room admins |
source code
|
|
|
addRoomAdmin(self,
name)
Add an admin to the room |
source code
|
|
|
delRoomAdmin(self,
name)
Remove an admin from the room |
source code
|
|
|
getRoomOwners(self)
Get the list of room owners |
source code
|
|
|
|
|
|
|
__str__(self)
Return a string representation of the room |
source code
|
|
|
fullJID(self)
Returns the room's full JID in the form of room@muc.platform |
source code
|
|
|
dispatch(self,
session,
stanza)
Mini-dispatcher for the jabber stanzas that arrive to the room |
source code
|
|
|
Message_cb(self,
session,
stanza)
Manages messages directed to a room |
source code
|
|
|
Presence_cb(self,
session,
stanza)
Manages presence stanzas directed to a room |
source code
|
|
|
IQ_cb(self,
session,
iq)
Manages IQ stanzas directed to a room |
source code
|
|
|
|
|
processRegistration(self,
x,
frm,
stanza,
session)
Process the registration form (to a room) of a user |
source code
|
|
|
configRoom(self,
x)
Configurate a room given a dataform with the desired configuration |
source code
|
|
|
addParticipant(self,
nick,
fulljid,
password=None)
Add a participant to a room |
source code
|
|
|
deleteParticipant(self,
fulljid)
Delete a participant from a room |
source code
|
|
|
setAffiliation(self,
participant,
affiliation)
Set the affiliation of a participant |
source code
|
|