Beispiel #1
0
 def __init__(self, executor):
     FacebookBase.__init__(self, "futuresleep")
     TServerInterface.__init__(self)
     self.executor = executor
Beispiel #2
0
 def __init__(self, noop_event, shutdown_event):
     FacebookBase.__init__(self, "sleep")
     TServerInterface.__init__(self)
     self.noop_event = noop_event
     self.shutdown_event = shutdown_event