Example #1
0
 def __init__(self):
     super(BackgroundThread, self).__init__()
     self.GetConfig()
     self.Recv = Net.ShiroRecv(self.Queue)
     self.Send = Net.SendMessage(port=1300)
     self.sql = sql.ShiroSQL(name="123")
     self.FilePort = (20000, 30000)
     self.sched = BackgroundScheduler()
Example #2
0
 def __init__(self):
     super(BackgroundThread,self).__init__()
     self.GetConfig()
     self.Recv = Net.ShiroRecv(self.Queue,Port=1300)
     for i in self.share:
         self.watch_list.append(watch.Watch(i,self.Queue))
     self.Send = Net.SendMessage()
     self.sql = sql.ShiroSQL("../222")
     self.FilePort = (20000,30000)