Commit graph

7 commits

Author SHA1 Message Date
Alistair Riddoch
7b5fb4bc60 No need to check for null pointer before deleting 2012-05-14 11:49:12 +01:00
Alistair Riddoch
d52550a9e3 Rename Monitor class tree to Variable for clarity. 2009-09-03 00:38:50 +01:00
Alistair Riddoch
958babd997 Add new Variable files to the build, remove copied code, and fix up includes. 2009-09-03 00:27:59 +01:00
Alistair Riddoch
a1a06b6335 Add dustructor to clean up monitors 2009-05-02 20:03:08 +01:00
Al Riddoch
d1695c9617 2008-09-01 Al Riddoch <alriddoch@googlemail.com>
* common/Monitors.cpp, common/Monitors.h: Add dynamic variable
	  monitor functionality, allowing arbitrary variables to appear
	  in the monitors output.

	* server/ServerRouting.cpp: Use the new monitor functionality for
	  variables prebviously pushed to monitors once.

	* server/WorldRouter.cpp, server/WorldRouter.h: Add a count of
	  in-game entities. Expose it to the monitors.
2008-09-01 16:14:42 +00:00
Al Riddoch
bcaf6dc7fd 2008-08-30 Al Riddoch <alriddoch@googlemail.com>
* common/Monitors.cpp: Remove the testing values for monitors.

	* server/ServerRouting.cpp: Add a bunch of server constants to the
	  monitors.
2008-08-30 16:52:01 +00:00
Al Riddoch
de4f241e4e 2008-08-29 Al Riddoch <alriddoch@googlemail.com>
* common/Monitors.cpp, common/Monitors.h: Add a new class to handle
	  storing key value pairs useful in monitoring the state of a server.

	* server/HttpCache.cpp, server/HttpCache.h: Add a function argument
	  to allow the content type to be controlled in the header.
	  Expose the Monitors class under /monitors URL.
2008-08-30 16:29:11 +00:00