public void bet_request_Process(int seqid, TProtocol iprot, TProtocol oprot) { bet_request_args args = new bet_request_args(); args.Read(iprot); iprot.ReadMessageEnd(); bet_request_result result = new bet_request_result(); result.Success = iface_.bet_request(args.Pot, args.Limits); oprot.WriteMessageBegin(new TMessage("bet_request", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }