renameZone method

dynamic renameZone(
  1. int seqid,
  2. TProtocol iprot,
  3. TProtocol oprot
)

Implementation

renameZone(int seqid, TProtocol iprot, TProtocol oprot) async {
  renameZone_args args = new renameZone_args();
  args.read(iprot);
  iprot.readMessageEnd();
  renameZone_result result = new renameZone_result();
  result.success = await iface_.renameZone(args.req);
  oprot.writeMessageBegin(
      new TMessage("renameZone", TMessageType.REPLY, seqid));
  result.write(oprot);
  oprot.writeMessageEnd();
  oprot.trans_.flush();
}