public bool recv_SetSceneValue_Uint8() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } SetSceneValue_Uint8_result result = new SetSceneValue_Uint8_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SetSceneValue_Uint8 failed: unknown result"); }
public void SetSceneValue_Uint8_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetSceneValue_Uint8_args args = new SetSceneValue_Uint8_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetSceneValue_Uint8_result result = new SetSceneValue_Uint8_result(); result.Success = iface_.SetSceneValue_Uint8(args._sceneId, args._valueId, args._value); oprot.WriteMessageBegin(new TMessage("SetSceneValue_Uint8", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }