예제 #1
0
파일: runner.py 프로젝트: thaingoc90/NATC
def initialize_thrift():
    AtcdNBServerTask.register()
    AtcdThriftHandlerTask.factory().register()
    AtcdDeviceTimeoutTask.register()

    AtcdVService.initFromCLI()
예제 #2
0
 def initTask(self):
     super(AtcdDeviceTimeoutTask, self).initTask()
     self.required_task = AtcdThriftHandlerTask.factory()
 def initTask(self):
     super(AtcdDeviceTimeoutTask, self).initTask()
     self.required_task = AtcdThriftHandlerTask.factory()