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
示例#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)
 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)
示例#6
0
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id
 def __init__(self,data=None,protocol=None,client_id=0):
     '''
     Constructor
     '''
     CBaseCommand.__init__(self, data, protocol)
     self.client_id=client_id