Beispiel #1
0
 public void checkRatingsColumn_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   checkRatingsColumn_args args = new checkRatingsColumn_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   checkRatingsColumn_result result = new checkRatingsColumn_result();
   result.Success = iface_.checkRatingsColumn(args.Username, args.Table, args.Repository, args.Ratings_column);
   oprot.WriteMessageBegin(new TMessage("checkRatingsColumn", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #2
0
 public bool recv_checkRatingsColumn()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   checkRatingsColumn_result result = new checkRatingsColumn_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "checkRatingsColumn failed: unknown result");
 }