コード例 #1
0
ファイル: campfire.py プロジェクト: bmuller/campfirer
 def __init__(self, account, muc):
     CampfireClient.__init__(self, account)
     self.rooms = {}
     self.username = None
     self.muc = muc
     # name of campfire user
     self.campfire_name = None
コード例 #2
0
 def __init__(self, account, token, roomname, room_id, muc, campfire_name):
     CampfireClient.__init__(self, account)
     self.roomname = roomname
     self.room_id = room_id
     self.token = token
     self.participants = ParticipantList()
     self.topic = ""
     self.msgs = MessageList()
     self.muc = muc
     # name of campfire user
     self.campfire_name = campfire_name
     # the jid of the user who has connected
     self.source_jid = None
     # the jid of the use in the room
     self.participant_jid = None
コード例 #3
0
ファイル: room.py プロジェクト: bmuller/campfirer
 def __init__(self, account, token, roomname, room_id, muc, campfire_name):
     CampfireClient.__init__(self, account)
     self.roomname = roomname
     self.room_id = room_id
     self.token = token
     self.participants = ParticipantList()
     self.topic = ""
     self.msgs = MessageList()
     self.muc = muc
     # name of campfire user
     self.campfire_name = campfire_name
     # the jid of the user who has connected
     self.source_jid = None
     # the jid of the use in the room
     self.participant_jid = None