Example #1
0
 public void reservePayment_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   reservePayment_args args = new reservePayment_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   reservePayment_result result = new reservePayment_result();
   try {
     result.Success = iface_.reservePayment(args.PaymentReservation);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("reservePayment", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }