public SceneGetValuesReturnStruct recv_SceneGetValues() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } SceneGetValues_result result = new SceneGetValues_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SceneGetValues failed: unknown result"); }
public void SceneGetValues_Process(int seqid, TProtocol iprot, TProtocol oprot) { SceneGetValues_args args = new SceneGetValues_args(); args.Read(iprot); iprot.ReadMessageEnd(); SceneGetValues_result result = new SceneGetValues_result(); result.Success = iface_.SceneGetValues(args._sceneId); oprot.WriteMessageBegin(new TMessage("SceneGetValues", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }