Exemplo n.º 1
0
 public void downloadChunk_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   downloadChunk_args args = new downloadChunk_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   downloadChunk_result result = new downloadChunk_result();
   try {
     result.Success = iface_.downloadChunk(args.Id);
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("downloadChunk", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }