ait.core.server.plugins.PacketPadder module¶
-
class
ait.core.server.plugins.PacketPadder.
PacketPadder
(inputs=None, outputs=None, zmq_args=None, pad_octets=0, **kwargs)¶ Bases:
ait.core.server.plugin.Plugin
-
__init__
(inputs=None, outputs=None, zmq_args=None, pad_octets=0, **kwargs)¶ Constructor
- Params:
inputs: names of inbound streams plugin receives data from outputs: names of outbound streams plugin sends its data to zmq_args: dict containing the follow keys:
zmq_context zmq_proxy_xsub_url zmq_proxy_xpub_urlDefaults to empty dict. Default values assigned during instantiation of parent class.
**kwargs: (optional) Dependent on requirements of child class.
-
process
(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.
-