コード例 #1
0
 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();
 }
コード例 #2
0
ファイル: Cassandra.cs プロジェクト: ehornbostel/hectorsharp
 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();
 }