Class for single routing points. More...
Public Member Functions | |
__init__ (self, name, callback, statsCallback=None, cleanupCallback=None) | |
Create a instance of an route point. | |
Data Fields | |
name | |
callback | |
statistics | |
cleanup | |
Class for single routing points.
boswatch.router.route.Route.__init__ | ( | self, | |
name, | |||
callback, | |||
statsCallback = None , |
|||
cleanupCallback = None |
|||
) |
Create a instance of an route point.
name | name of the route point |
callback | instance of the callback function |
statsCallback | instance of the callback to get statistics (None) |
cleanupCallback | instance of the callback to run a cleanup method (None) |
boswatch.router.route.Route.name |
boswatch.router.route.Route.callback |
boswatch.router.route.Route.statistics |
boswatch.router.route.Route.cleanup |