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