Skip to content

msight_core.nodes.source_udp_server

msight_core.nodes.source_udp_server

UdpServerSourceNode

Bases: ServerSourceNode

A generic UDP server node implemented using socketserver.

create(name, publish_topic_name, sensor_name, gap=0, host='0.0.0.0', port=5000, ipv6=False) classmethod

Convenience factory, matching your base class API. Adjust NodeConfig(...) if your signature differs.

initialize()

Called by ServerSourceNode.init.

Here we: - Build the socketserver handler class. - Instantiate the UDP server and store it in self._server.

serve()

Blocking server loop. Called by _spin()/spin()/start().