Ejemplo n.º 1
0
 public void recv_finishFileUpload()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   finishFileUpload_result result = new finishFileUpload_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.aze) {
     throw result.Aze;
   }
   return;
 }
Ejemplo n.º 2
0
 public void finishFileUpload_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   finishFileUpload_args args = new finishFileUpload_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   finishFileUpload_result result = new finishFileUpload_result();
   try {
     iface_.finishFileUpload(args.Location);
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("finishFileUpload", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }