def send_command(self, name, kwargs={}): pkt = pack_command(name, **kwargs) self.out_buffer += pkt self.send()
def send_command(self, name, kwargs={}): self.send_buffered(pack_command(name, response=True, **kwargs))