rsudp.c_forward (forward data)

class rsudp.c_forward.Forward(addr, port, cha, q)

Single-destination data forwarding. This consumer reads queue messages from the rsudp.c_consumer.Consumer and forwards those messages to a specified address and port.

Parameters
  • addr (str) – IP address to pass UDP data to

  • port (str) – network port to pass UDP data to (at specified address)

  • cha (str or list) – channel(s) to forward. others will be ignored.

  • q (queue.Queue) – queue of data and messages sent by rsudp.c_consumer.Consumer

run()

Gets and distributes queue objects to another address and port on the network.


Back to top ↑