equal
deleted
inserted
replaced
827 @RunInMain |
827 @RunInMain |
828 def ExtendedCall(self, method, argument): |
828 def ExtendedCall(self, method, argument): |
829 """ Dispatch argument to registered service """ |
829 """ Dispatch argument to registered service """ |
830 return self.extended_calls[method](argument) |
830 return self.extended_calls[method](argument) |
831 |
831 |
832 def RegisterExtendedCall(method, callback): |
832 def RegisterExtendedCall(self, method, callback): |
833 self.extended_calls[method] = callback |
833 self.extended_calls[method] = callback |
834 |
834 |
835 def UnregisterExtendedCall(method): |
835 def UnregisterExtendedCall(self, method): |
836 del self.extended_calls[method] |
836 del self.extended_calls[method] |
837 |
837 |