public void send_get_config_value(string name, string defaultValue) { oprot_.WriteMessageBegin(new TMessage("get_config_value", TMessageType.Call, seqid_)); get_config_value_args args = new get_config_value_args(); args.Name = name; args.DefaultValue = defaultValue; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void get_config_value_Process(int seqid, TProtocol iprot, TProtocol oprot) { get_config_value_args args = new get_config_value_args(); args.Read(iprot); iprot.ReadMessageEnd(); get_config_value_result result = new get_config_value_result(); try { result.Success = iface_.get_config_value(args.Name, args.DefaultValue); } catch (ConfigValSecurityException o1) { result.O1 = o1; } oprot.WriteMessageBegin(new TMessage("get_config_value", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }