예제 #1
0
파일: Serv.cs 프로젝트: complus206/arch
 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();
 }
예제 #2
0
파일: Serv.cs 프로젝트: complus206/arch
            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
            }