def _success(self, result, tc):
        """Called from the net thread. Appends a ThreadCommand
        success callback to the gui thread's queue"""
        if tc.param:
            evt = ResponseEvent(tc.onSuccess, None, None, tc.param, result)
        else:
            evt = ResponseEvent(tc.onSuccess, None, None, result)
        self.app.AddPendingEvent(evt)
Called from the net thread. Appends a ThreadCommand
        success callback to the gui thread's queue
recipes/Python/286201_wx_twisted_support_using_threads/recipe-286201.py