BOSWatch 3
Python Script to receive and decode German BOS Information with rtl_fm and multimon-NG
 
Loading...
Searching...
No Matches
boswatch.router.route.Route Class Reference

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
 

Detailed Description

Class for single routing points.

Constructor & Destructor Documentation

◆ __init__()

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)
25 def __init__(self, name, callback, statsCallback=None, cleanupCallback=None):
26 r"""!Create a instance of an route point
27
28 @param name: name of the route point
29 @param callback: instance of the callback function
30 @param statsCallback: instance of the callback to get statistics (None)
31 @param cleanupCallback: instance of the callback to run a cleanup method (None)
32 """
33 self.name = name
34 self.callback = callback
35 self.statistics = statsCallback
36 self.cleanup = cleanupCallback

Field Documentation

◆ name

boswatch.router.route.Route.name

◆ callback

boswatch.router.route.Route.callback

◆ statistics

boswatch.router.route.Route.statistics

◆ cleanup

boswatch.router.route.Route.cleanup