Example #1
0
 def join(self, ctx, callback = None):
     result = True
     if not isinstance(ctx, pre_queue_ctx.JoinModeCtx):
         result = False
         LOG_ERROR('Invalid context to join fallout mode', ctx)
     else:
         g_eventDispatcher.loadFallout()
     if callback:
         callback(result)
Example #2
0
 def join(self, ctx, callback=None):
     result = True
     if not isinstance(ctx, pre_queue_ctx.JoinModeCtx):
         result = False
         LOG_ERROR('Invalid context to join fallout mode', ctx)
     else:
         g_eventDispatcher.loadFallout()
     if callback:
         callback(result)
Example #3
0
 def executeInit(self, ctx):
     g_eventDispatcher.loadFallout()
     return super(FalloutSquadActionsHandler, self).executeInit(ctx)
Example #4
0
 def init(self, ctx=None):
     self.storage.release(self._queueType)
     g_eventDispatcher.loadFallout()
     return super(_FalloutEntity, self).init(ctx)
Example #5
0
 def init(self, ctx = None):
     self.storage.release()
     g_eventDispatcher.loadFallout()
     return super(FalloutQueueFunctional, self).init(ctx)