code: def sendcommand(self, name, **kwargs):
          
          self.log("sending command %s(**%s)" % (name, kwargs))
          self.channel.send((name, kwargs))
docs: send a named parametrized command to the other side.