public void createBatch_Process(int seqid, TProtocol iprot, TProtocol oprot) { createBatch_args args = new createBatch_args(); args.Read(iprot); iprot.ReadMessageEnd(); createBatch_result result = new createBatch_result(); result.Success = iface_.createBatch(args.Lst); oprot.WriteMessageBegin(new TMessage("createBatch", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_createBatch(List<Reserve> lst) #endif { oprot_.WriteMessageBegin(new TMessage("createBatch", TMessageType.Call, seqid_)); createBatch_args args = new createBatch_args(); args.Lst = lst; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }