Home | History | Annotate | Download | only in python2.7

Lines Matching refs:_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.
500 # In previous versions of SimpleXMLRPCServer, _dispatch
503 # check to see if a subclass implements _dispatch and dispatch
506 data, getattr(self, '_dispatch', None), self.path
576 installed in the server. Override the _dispatch method inhereted