public void DeployFile_Process(int seqid, TProtocol iprot, TProtocol oprot) { DeployFile_args args = new DeployFile_args(); args.Read(iprot); iprot.ReadMessageEnd(); DeployFile_result result = new DeployFile_result(); try { iface_.DeployFile(args.Filename); } catch (AsapiException asapiEx) { result.AsapiEx = asapiEx; } oprot.WriteMessageBegin(new TMessage("DeployFile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_DeployFile(string filename) { oprot_.WriteMessageBegin(new TMessage("DeployFile", TMessageType.Call, seqid_)); DeployFile_args args = new DeployFile_args(); args.Filename = filename; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }