rsudp.c_forward (forward data)¶
Forward(num, addr, port, fwd_data, fwd_alarms, cha, q)¶
Single-destination data forwarding module. This consumer reads queue messages from the
rsudp.c_consumer.Consumerand forwards those messages to a specified address and port. Multiple of these threads can be started in order to deliver to more than one destination. (see the forward (datacast forwarding) section in Modules and Settings)
New in version 1.0.2: The option to choose whether to forward either data or alarms or both (find boolean settings
"fwd_alarms"in settings json files built by this version and later).
addr (str) – IP address to pass UDP data to
port (str) – network port to pass UDP data to (at specified address)
fwd_data (bool) – whether or not to forward raw data packets
fwd_alarms (bool) – whether or not to forward
Gets and distributes queue objects to another address and port on the network.