Package org.ka2ddo.yaac.core.queries
Class YDebugQueryHandler
java.lang.Object
org.ka2ddo.yaac.pluginapi.AbstractQueryHandler
org.ka2ddo.yaac.core.queries.YDebugQueryHandler
This query handler sends back some debugging information about the local YAAC system. Specifically,
it returns the current map center and zoom level, the heap statistics, the number of heard
(by any path, port, and hop count) stations and objects, number of rendered stations/objects,
OSM map data version number, number of threads. If a parameter is specified after the query name,
that will specify an alternate debugging report; unrecognized parameters will cause the query to be
ignored. Currently supported parameter values are:
? | report the names of currently supported options |
PARAMS | report the names of currently supported options |
TH | respond with multiple messages identifying all the threads running in YAAC and their states |
- Author:
- Andrew Pavlin, KA2DDO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleQuery
(Message mm) Handle the passed in message and generate whatever appropriate response should be made.Methods inherited from class org.ka2ddo.yaac.pluginapi.AbstractQueryHandler
transmitReply
-
Constructor Details
-
YDebugQueryHandler
public YDebugQueryHandler()
-
-
Method Details
-
handleQuery
Handle the passed in message and generate whatever appropriate response should be made.- Specified by:
handleQuery
in classAbstractQueryHandler
- Parameters:
mm
- MessageMessage addressed explicitly to local station whose content begins with one of the prefixes specified by the subclass.
-