示例#1
0
 public void deleteFiles_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   deleteFiles_args args = new deleteFiles_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   deleteFiles_result result = new deleteFiles_result();
   try {
     result.Success = iface_.deleteFiles(args.El, args.Session);
   } catch (ElifException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("deleteFiles", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
示例#2
0
 public void send_deleteFiles(List<Elif> el, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("deleteFiles", TMessageType.Call, seqid_));
   deleteFiles_args args = new deleteFiles_args();
   args.El = el;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }