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