コード例 #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 プロジェクト: achinn/fluentcassandra
 public void send_describe_splits(string cfName, string start_token, string end_token, int keys_per_split)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("describe_splits", TMessageType.Call, seqid_));
   describe_splits_args args = new describe_splits_args();
   args.CfName = cfName;
   args.Start_token = start_token;
   args.End_token = end_token;
   args.Keys_per_split = keys_per_split;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
コード例 #3
0
 public void send_describe_splits(string cfName, string start_token, string end_token, int keys_per_split)
 {
     oprot_.WriteMessageBegin(new TMessage("describe_splits", TMessageType.Call, seqid_));
     describe_splits_args args = new describe_splits_args();
     args.CfName = cfName;
     args.Start_token = start_token;
     args.End_token = end_token;
     args.Keys_per_split = keys_per_split;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
コード例 #4
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();
 }