Exemplo n.º 1
0
 def __init__(self,
              chatType=None,
              senderCallsign=None,
              chatroom=None,
              groupOwner=None,
              id=None,
              parent=None,
              uid0=None,
              uid1=None):
     self.senderCallsign = senderCallsign
     self.id = id
     self.parent = parent
     self.chatgrp = chatgrp(chatType=chatType, uid0=uid0, uid1=uid1, id=id)
Exemplo n.º 2
0
    def __init__(self):
        # the call sign of the sender
        self.senderCallsign = ""
        self.xmlChat = "<__chat senderCallsign='corvTab' chatroom='Eliopoli HQ' groupOwner='false' id='aa0b0312-b5cd-4c2c-bbbc-9c4c70216261' parent='RootContactGroup'><chatgrp uid0='ANDROID-R52JB0CDC4E' uid1='aa0b0312-b5cd-4c2c-bbbc-9c4c70216261' id='aa0b0312-b5cd-4c2c-bbbc-9c4c70216261'/></__chat>"

        # TBD: the callsign of the receiver?
        self.chatroom = ""

        self.m_chatgrp = chatgrp()

        # TBD,
        self.groupOwner = ""

        # TBD: the unique ID of the sender?
        self.id = ""

        self.parent = ""
Exemplo n.º 3
0
 def __init__(self,
              chatType=None,
              senderCallsign=None1,
              chatroom=None1,
              groupOwner=None1,
              id=None1,
              parent=None1,
              chatgrpuid0=None,
              chatgrpuid1=None,
              chatgrpid=None):
     from Model.chatgrp import chatgrp
     self.senderCallsign = senderCallsign
     self.id = id
     self.parent = parent
     self.chatgrp = chatgrp(chatType=chatType,
                            uid0=chatgrpuid0,
                            uid1=chatgrpuid1,
                            id=chatgrpid)
Exemplo n.º 4
0
 def setchatgrpid(self, id=0):
     chatgrp().setid(id)
Exemplo n.º 5
0
 def getchatgrpid(self):
     chatgrp().getid()
Exemplo n.º 6
0
 def setuid1(self, uid1=0):
     chatgrp().setuid1(uid1)
Exemplo n.º 7
0
 def getuid1(self):
     chatgrp().getuid1()
Exemplo n.º 8
0
 def setuid0(self, uid0=0):
     chatgrp().setuid0(uid0)
Exemplo n.º 9
0
 def getuid0(self):
     chatgrp().getuid0()