예제 #1
0
 public void getModelFromFile_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getModelFromFile_args args = new getModelFromFile_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getModelFromFile_result result = new getModelFromFile_result();
     try {
         result.Success = iface_.getModelFromFile(args.Filename);
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("getModelFromFile", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }