dropCheckpoint method
Implementation
Future<DropCPResp> dropCheckpoint(DropCPRequest? req) async {
oprot.writeMessageBegin(
new TMessage("dropCheckpoint", TMessageType.CALL, nextSeqid()));
dropCheckpoint_args args = new dropCheckpoint_args();
args.req = req;
args.write(oprot);
oprot.writeMessageEnd();
await oprot.trans_.flush();
TMessage msg = iprot.readMessageBegin();
if (msg.type == TMessageType.EXCEPTION) {
TApplicationError error = TApplicationError.read(iprot);
iprot.readMessageEnd();
throw error;
}
dropCheckpoint_result result = new dropCheckpoint_result();
result.read(iprot);
iprot.readMessageEnd();
if (result.isSetSuccess()) {
return result.success!;
}
throw new TApplicationError(TApplicationErrorType.MISSING_RESULT,
"dropCheckpoint failed: unknown result");
}