Exemplo n.º 1
0
 def __init__(self,data=None,protocol=None):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.dictWaitingSuperboxControls={} #the map of superbox_id-->array of CDeviceCmd
     self.dictSendingSuperboxControls={}
     self.dictFinishedSuperboxControls={}
     self.lock=threading.RLock()
     self.bFinished=False
     self.requireCommand=None
     self.timer=None
Exemplo n.º 2
0
 def __init__(self, data=None, protocol=None):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.dictWaitingRelayerControls = {
     }  # the map of relayer_id-->array of CDeviceCmd
     self.dictSendingRelayerControls = {}
     self.dictFinishedRelayerControls = {}
     self.lock = threading.RLock()
     self.bFinished = False
     self.requireCommand = None
     self.timer = None
 def __init__(self,data=None,protocol=None):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
Exemplo n.º 4
0
 def __init__(self, data=None, protocol=None):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
 def __init__(self, data=None, protocol=None):
     """
     Constructor
     """
     CBaseCommand.__init__(self, data, protocol)
Exemplo n.º 6
0
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id
Exemplo n.º 7
0
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id