コード例 #1
0
 public void getDetection_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getDetection_args args = new getDetection_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getDetection_result result = new getDetection_result();
   try {
     result.Success = iface_.getDetection(args.El, args.Session);
   } catch (ElifException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("getDetection", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }