def __reply(self, reply, args, kwargs):
        """ simulate the reply """
        binding = self.method.binding.input
        msg = binding.get_message(self.method, args, kwargs)
        log.debug('inject (simulated) send message:\n%s', msg)
        binding = self.method.binding.output
        return self.succeeded(binding, reply)
def __reply ( self , reply , args , kwargs ) : binding = self . method . binding . input msg = binding . get_message ( self . method , args , kwargs ) log . debug ( 'inject (simulated) send message:\n%s' , msg ) binding = self . method . binding . output return self . succeeded ( binding , reply )
simulate the reply