コード例 #1
0
ファイル: conversation.py プロジェクト: DarKprince/emesene2
 def _send_message(self, content_type, body, headers={},
         ack=msnp.MessageAcknowledgement.HALF):
     SwitchboardClient._send_message(self, content_type, body, headers, ack)
コード例 #2
0
ファイル: conversation.py プロジェクト: DarKprince/emesene2
    def invite_user(self, contact):
        """Request a contact to join in the conversation.

            @param contact: the contact to invite.
            @type contact: L{profile.Contact}"""
        SwitchboardClient._invite_user(self, contact)
コード例 #3
0
ファイル: conversation.py プロジェクト: DarKprince/emesene2
 def leave(self):
     """Leave the conversation."""
     SwitchboardClient._leave(self)
コード例 #4
0
ファイル: conversation.py プロジェクト: DarKprince/emesene2
 def __init__(self, client, contacts):
     SwitchboardClient.__init__(self, client, contacts, priority=0)
     AbstractConversation.__init__(self, client)
コード例 #5
0
ファイル: conversation.py プロジェクト: lppedd/papyon
 def _send_message(self,
                   content_type,
                   body,
                   headers={},
                   ack=msnp.MessageAcknowledgement.HALF):
     SwitchboardClient._send_message(self, content_type, body, headers, ack)
コード例 #6
0
ファイル: conversation.py プロジェクト: lppedd/papyon
 def leave(self):
     """Leave the conversation."""
     SwitchboardClient._leave(self)
コード例 #7
0
ファイル: conversation.py プロジェクト: lppedd/papyon
    def invite_user(self, contact):
        """Request a contact to join in the conversation.

            @param contact: the contact to invite.
            @type contact: L{profile.Contact}"""
        SwitchboardClient._invite_user(self, contact)
コード例 #8
0
ファイル: conversation.py プロジェクト: lppedd/papyon
 def __init__(self, client, contacts):
     SwitchboardClient.__init__(self, client, contacts, priority=0)
     AbstractConversation.__init__(self, client)