Exemplo n.º 1
0
 public void deleteCategory_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   deleteCategory_args args = new deleteCategory_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   deleteCategory_result result = new deleteCategory_result();
   try {
     result.Success = iface_.deleteCategory(args.UserCategory, args.Session);
   } catch (UserException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("deleteCategory", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }