Class for single routing points. More...
Public Member Functions | |
| def | __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.
| def boswatch.router.route.Route.__init__ | ( | self, | |
| name, | |||
| callback, | |||
statsCallback = None, |
|||
cleanupCallback = None |
|||
| ) |
Create a instance of an route point.
@param name: name of the route point
@param callback: instance of the callback function
@param statsCallback: instance of the callback to get statistics (None)
@param 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 |