Home | History | Annotate | Download | only in Lib

Lines Matching defs:_dispatch

59     def _dispatch(self, method, params):

75 def _dispatch(self, method, params):
180 If the registered instance has a _dispatch method then that
183 e.g. instance._dispatch('add',(2,3))
185 If the registered instance does not have a _dispatch method
195 instance does not have a _dispatch method, method names
245 using the _dispatch method and the result is returned as
260 response = self._dispatch(method, params)
291 # if the instance has a _dispatch method then we
294 elif not hasattr(self.instance, '_dispatch'):
326 # if the instance has a _dispatch method then we
328 elif not hasattr(self.instance, '_dispatch'):
364 results.append([self._dispatch(method_name, params)])
378 def _dispatch(self, method, params):
386 If the registered instance has a _dispatch method then that
389 e.g. instance._dispatch('add',(2,3))
391 If the registered instance does not have a _dispatch method
405 # check for a _dispatch method
406 if hasattr(self.instance, '_dispatch'):
407 return self.instance._dispatch(method, params)
471 which are forwarded to the server's _dispatch method for handling.
497 # In previous versions of SimpleXMLRPCServer, _dispatch
500 # check to see if a subclass implements _dispatch and dispatch
503 data, getattr(self, '_dispatch', None), self.path
573 installed in the server. Override the _dispatch method inhereted