# Path: chirp/common/conf.py

# 
# Path: chirp/stream/barix.py
# def _remove_tags(html_str):
#     def __init__(self, host, port):
#     def ping(self):
# _CLIENT_RE = re.compile("(\d+\.\d+\.\d+\.\d+):src port (\d+) :dst port (\d+)")
#     TIMEOUT_S = 1.0
# class Barix(object):


import BaseHTTPServer
import logging
import os
import sys
import threading
import time
from chirp.common.conf import (BARIX_STATUS_HOST, BARIX_STATUS_PORT,
                                   BARIX_HOST, BARIX_PORT)
from chirp.stream import barix




_TIMEOUT_S = 2
_POLLING_FREQUENCY_S = 5

_STATUS_PAGE = """<html><head>
<title>Barix Status</title>
<meta http-equiv=refresh content="10; url=.">
</head><body>
<h1>Barix Status</h1>
<small><i>This page will automatically update every 10 seconds.</i></small><br>
<small><i>Levels are averaged over the last %(level_avg_window_minutes)d
minutes.</i></small><br>

# Path: chirp/common/conf.py

# 
# Path: chirp/stream/barix.py
# def _remove_tags(html_str):
#     def __init__(self, host, port):
#     def ping(self):
# _CLIENT_RE = re.compile("(\d+\.\d+\.\d+\.\d+):src port (\d+) :dst port (\d+)")
#     TIMEOUT_S = 1.0
# class Barix(object):


# Path: chirp/stream/do_proxy_barix_status.py
import BaseHTTPServer
import logging
import os
import sys
import threading
import time
from chirp.common.conf import (BARIX_STATUS_HOST, BARIX_STATUS_PORT,
                                   BARIX_HOST, BARIX_PORT)
from chirp.stream import barix





_TIMEOUT_S = 2
_POLLING_FREQUENCY_S = 5

_STATUS_PAGE = """<html><head>
<title>Barix Status</title>
<meta http-equiv=refresh content="10; url=.">
</head><body>
<h1>Barix Status</h1>
<small><i>This page will automatically update every 10 seconds.</i></small><br>
<small><i>Levels are averaged over the last %(level_avg_window_minutes)d
minutes.</i></small><br>

<br><br>