LogProcesser

monitor.LogProcesser
@Singleton
class LogProcesser(nodeStore: NodeStore, nodeLogScraper: NodeLogScraper, config: Config) extends LazyStructuredLogging

Manages and updates information about UDP node identities and their packets.

This class listens for incoming UDP packets, processes and manages information about the nodes from which the packets originate, and provides the ability to scrape logs for discovered nodes. It maintains an up-to-date list of node identities and their latest UDP header data.

Value parameters

config

Configuration settings to adjust behavior such as log scraping interval.

nodeIdentityDialog

A dialog interface for displaying node identities in a UI.

nodeLogScraper

A scraper used for retrieving logs from discovered nodes.

udpPacketListener

An instance of UdpPacketListener to receive and queue UDP packets.

Attributes

Constructor

Creates a new instance of NodeInfoManager with dependencies injected.

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

val scheduler: ScheduledExecutorService