public void send_SetPollIntensity(RemoteValueID _valueId, sbyte _intensity) #endif { oprot_.WriteMessageBegin(new TMessage("SetPollIntensity", TMessageType.Call, seqid_)); SetPollIntensity_args args = new SetPollIntensity_args(); args._valueId = _valueId; args._intensity = _intensity; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void SetPollIntensity_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetPollIntensity_args args = new SetPollIntensity_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetPollIntensity_result result = new SetPollIntensity_result(); iface_.SetPollIntensity(args._valueId, args._intensity); oprot.WriteMessageBegin(new TMessage("SetPollIntensity", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }