public void DeployModelWithFile_Process(int seqid, TProtocol iprot, TProtocol oprot) { DeployModelWithFile_args args = new DeployModelWithFile_args(); args.Read(iprot); iprot.ReadMessageEnd(); DeployModelWithFile_result result = new DeployModelWithFile_result(); try { iface_.DeployModelWithFile(args.Filename, args.ModelInXml); } catch (AsapiException asapiEx) { result.AsapiEx = asapiEx; } oprot.WriteMessageBegin(new TMessage("DeployModelWithFile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_DeployModelWithFile(string filename, string modelInXml) { oprot_.WriteMessageBegin(new TMessage("DeployModelWithFile", TMessageType.Call, seqid_)); DeployModelWithFile_args args = new DeployModelWithFile_args(); args.Filename = filename; args.ModelInXml = modelInXml; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }