

def _send_tune_ok(self):
    args = Writer()
    args.write_short(self.connection._channel_max)
    args.write_long(self.connection._frame_max)
    if self.connection._heartbeat:
        args.write_short(self.connection._heartbeat)
    else:
        args.write_short(0)
    self.send_frame(MethodFrame(self.channel_id, 10, 31, args))

dataset/ETHPy150Open agoragames/haigha/haigha/connection.py ConnectionChannel._send_tune_ok/original