public void describe_splits_Process(int seqid, TProtocol iprot, TProtocol oprot) { describe_splits_args args = new describe_splits_args(); args.Read(iprot); iprot.ReadMessageEnd(); describe_splits_result result = new describe_splits_result(); try { result.Success = iface_.describe_splits(args.CfName, args.Start_token, args.End_token, args.Keys_per_split); } catch (InvalidRequestException ire) { result.Ire = ire; } oprot.WriteMessageBegin(new TMessage("describe_splits", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void describe_splits_Process(int seqid, TProtocol iprot, TProtocol oprot) { describe_splits_args args = new describe_splits_args(); args.Read(iprot); iprot.ReadMessageEnd(); describe_splits_result result = new describe_splits_result(); result.Success = iface_.describe_splits(args.Start_token, args.End_token, args.Keys_per_split); oprot.WriteMessageBegin(new TMessage("describe_splits", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }