ait.dsn.plugins.raf_plugin module

A plugin which creates an RAF connection with the DSN. Frames received via the RAF connection are sent to the output stream

class ait.dsn.plugins.raf_plugin.RAFPlugin(inputs=None, outputs=None, zmq_args=None)

Bases: Plugin

A plugin which creates a RAF instance using the SLE parameters specified in config.yaml. All received frames are published to the output topic.

process(input_data, topic=None)

Not implemented by base Plugin class. This process method must be implemented by any custom plugin class that inherits from this base Plugin.

Params:

input_data: Message received from any of the plugin’s input streams. topic: Name of stream that message was received from.