• Naoki Kambe's avatar
    [2225] introduced new counter classes and implemented unixsocket counters · 1c6a6aa8
    Naoki Kambe authored
     - implemented a base class Counter and a concrete XfroutCounter as an external
       module under isc.statistics. Because it is easy to implement another
       concrete Counter class for other module in future. The caller module can
       statically import it. The new counter class provides a getter method for
       each statistics item. It is intended for making loose relationship between
       the counter class and the caller module.
     - added implementation of unixsocket counter into the existing UnixSockServer
     - added new tests for checking counters implemented in UnixSockServer are
       working properly into xfrout_test.py.
     - implemented enabling/disabling counting in the new counter class.
Makefile.am 260 Bytes