Ejemplo 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
Ejemplo 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)
Ejemplo n.º 4
0
 def __init__(self, data=None, protocol=None):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
Ejemplo n.º 5
0
 def __init__(self, data=None, protocol=None):
     """
     Constructor
     """
     CBaseCommand.__init__(self, data, protocol)
Ejemplo n.º 6
0
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id
Ejemplo n.º 7
0
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id