public void send_SetValueUnits(RemoteValueID _id, string _value) #endif { oprot_.WriteMessageBegin(new TMessage("SetValueUnits", TMessageType.Call, seqid_)); SetValueUnits_args args = new SetValueUnits_args(); args._id = _id; args._value = _value; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void SetValueUnits_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetValueUnits_args args = new SetValueUnits_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetValueUnits_result result = new SetValueUnits_result(); iface_.SetValueUnits(args._id, args._value); oprot.WriteMessageBegin(new TMessage("SetValueUnits", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }