示例#1
0
 public void DeployModel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     DeployModel_args args = new DeployModel_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     DeployModel_result result = new DeployModel_result();
     try {
         iface_.DeployModel(args.ModelInXml);
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("DeployModel", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
示例#2
0
 public void send_DeployModel(string modelInXml)
 {
     oprot_.WriteMessageBegin(new TMessage("DeployModel", TMessageType.Call, seqid_));
     DeployModel_args args = new DeployModel_args();
     args.ModelInXml = modelInXml;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }