コード例 #1
0
 def __call__(self, incoming, executor_callback=None):
     return dispatcher.DispatcherExecutorContext(
         incoming,
         self._dispatch_and_handle_error,
         executor_callback=executor_callback,
         post=self._post_dispatch)
コード例 #2
0
 def __call__(self, incoming, executor_callback=None):
     incoming[0].acknowledge()
     return dispatcher.DispatcherExecutorContext(
         incoming[0], self._dispatch_and_reply,
         executor_callback=executor_callback)
コード例 #3
0
 def __call__(self, incoming, executor_callback=None):
     return dispatcher_base.DispatcherExecutorContext(
         incoming[0], self.callback, executor_callback)