Пример #1
0
 public void send_execute_prepared_cql_query(int itemId, List<byte[]> values)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("execute_prepared_cql_query", TMessageType.Call, seqid_));
   execute_prepared_cql_query_args args = new execute_prepared_cql_query_args();
   args.ItemId = itemId;
   args.Values = values;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Пример #2
0
 public void execute_prepared_cql_query_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   execute_prepared_cql_query_args args = new execute_prepared_cql_query_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   execute_prepared_cql_query_result result = new execute_prepared_cql_query_result();
   try {
     result.Success = iface_.execute_prepared_cql_query(args.ItemId, args.Values);
   } catch (InvalidRequestException ire) {
     result.Ire = ire;
   } catch (UnavailableException ue) {
     result.Ue = ue;
   } catch (TimedOutException te) {
     result.Te = te;
   } catch (SchemaDisagreementException sde) {
     result.Sde = sde;
   }
   oprot.WriteMessageBegin(new TMessage("execute_prepared_cql_query", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Пример #3
0
 public void send_execute_prepared_cql_query(int itemId, List<byte[]> values)
 {
     oprot_.WriteMessageBegin(new TMessage("execute_prepared_cql_query", TMessageType.Call, seqid_));
     execute_prepared_cql_query_args args = new execute_prepared_cql_query_args();
     args.ItemId = itemId;
     args.Values = values;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }