コード例 #1
0
 def __init__(self, handler):
   TProcessor.__init__(self)
   self._handler = handler
   self._processMap = {}
   self._priorityMap = {}
   self._processMap["getValue"] = ContextProcessor.process_getValue
   self._priorityMap["getValue"] = TPriority.NORMAL
   self._processMap["forwardTransaction"] = ContextProcessor.process_forwardTransaction
   self._priorityMap["forwardTransaction"] = TPriority.NORMAL
コード例 #2
0
 def __init__(self, handler):
     TProcessor.__init__(self)
     self._handler = handler
     self._processMap = {}
     self._priorityMap = {}
     self._processMap["get"] = ContextProcessor.process_get
     self._priorityMap["get"] = TPriority.NORMAL
     self._processMap["put"] = ContextProcessor.process_put
     self._priorityMap["put"] = TPriority.NORMAL
     self._processMap["remove"] = ContextProcessor.process_remove
     self._priorityMap["remove"] = TPriority.NORMAL
コード例 #3
0
 def __init__(self, handler):
     TProcessor.__init__(self)
     self._handler = handler
     self._processMap = {}
     self._priorityMap = {}
     self._processMap["authenticate"] = Processor.process_authenticate
     self._priorityMap["authenticate"] = TPriority.NORMAL
     self._processMap["signout"] = Processor.process_signout
     self._priorityMap["signout"] = TPriority.NORMAL
     self._processMap["execute"] = Processor.process_execute
     self._priorityMap["execute"] = TPriority.NORMAL
     self._processMap["executeJson"] = Processor.process_executeJson
     self._priorityMap["executeJson"] = TPriority.NORMAL