Part of wader.common.statem.connection View In Hierarchy
I keep track of a connection for accounting purposes
I detect connection changes and will add usage items whenever a new connection mode change happens| Method | __init__ | Undocumented |
| Method | set_conn_mode | Sets the initial accounting mode |
| Method | connection_started | Call it to start tracking the connection stats |
| Method | add_current_usage | Adds the current usage statistics to the database |
| Method | get_current_usage | Undocumented |
| Method | on_notification_received | ConnectStateMachine will notify us of SIG_NEW_CONN_MODE notifications |