Class YDebugQueryHandler

java.lang.Object
org.ka2ddo.yaac.pluginapi.AbstractQueryHandler
org.ka2ddo.yaac.core.queries.YDebugQueryHandler

public class YDebugQueryHandler extends AbstractQueryHandler
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
PARAMSreport the names of currently supported options
THrespond with multiple messages identifying all the threads running in YAAC and their states
?YDBG query command strings
Author:
Andrew Pavlin, KA2DDO
  • Constructor Details

    • YDebugQueryHandler

      public YDebugQueryHandler()
  • Method Details

    • handleQuery

      public void handleQuery(Message mm)
      Handle the passed in message and generate whatever appropriate response should be made.
      Specified by:
      handleQuery in class AbstractQueryHandler
      Parameters:
      mm - MessageMessage addressed explicitly to local station whose content begins with one of the prefixes specified by the subclass.