def __init__(self, cfg, mrt_bgp4mp_queue, log_queue):
""" Constructor
:param cfg: Configuration dictionary
:param mrt_bgp4mp_queue: Output for BMP raw message forwarding
:param log_queue: Logging queue - sync logging
"""
multiprocessing.Process.__init__(self)
self._stop = multiprocessing.Event()
self._cfg = cfg
self._bgp4mp_queue = mrt_bgp4mp_queue
self._log_queue = log_queue
self.LOG = None
self._sock = None
评论列表
文章目录