示例#1
0
 public void send_prepare_cql_query(byte[] query, Compression compression)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("prepare_cql_query", TMessageType.Call, seqid_));
   prepare_cql_query_args args = new prepare_cql_query_args();
   args.Query = query;
   args.Compression = compression;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
示例#2
0
 public void send_prepare_cql_query(byte[] query, Compression compression)
 {
     oprot_.WriteMessageBegin(new TMessage("prepare_cql_query", TMessageType.Call, seqid_));
     prepare_cql_query_args args = new prepare_cql_query_args();
     args.Query = query;
     args.Compression = compression;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }