public void send_batch_mutate(Dictionary<byte[], Dictionary<string, List<Mutation>>> mutation_map, ConsistencyLevel consistency_level) { oprot_.WriteMessageBegin(new TMessage("batch_mutate", TMessageType.Call, seqid_)); batch_mutate_args args = new batch_mutate_args(); args.Mutation_map = mutation_map; args.Consistency_level = consistency_level; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void batch_mutate_Process(int seqid, TProtocol iprot, TProtocol oprot) { batch_mutate_args args = new batch_mutate_args(); args.Read(iprot); iprot.ReadMessageEnd(); batch_mutate_result result = new batch_mutate_result(); try { iface_.batch_mutate(args.Mutation_map, args.Consistency_level); } catch (InvalidRequestException ire) { result.Ire = ire; } catch (UnavailableException ue) { result.Ue = ue; } catch (TimedOutException te) { result.Te = te; } oprot.WriteMessageBegin(new TMessage("batch_mutate", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_batch_mutate(Dictionary<byte[], Dictionary<string, List<Mutation>>> mutation_map, ConsistencyLevel consistency_level) #endif { oprot_.WriteMessageBegin(new TMessage("batch_mutate", TMessageType.Call, seqid_)); batch_mutate_args args = new batch_mutate_args(); args.Mutation_map = mutation_map; args.Consistency_level = consistency_level; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }