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