Пример #1
0
 def send_command(self, name, kwargs={}):
     pkt = pack_command(name, **kwargs)
     self.out_buffer += pkt
     self.send()
Пример #2
0
 def send_command(self, name, kwargs={}):
     self.send_buffered(pack_command(name, response=True, **kwargs))