pytak.TXWorker
- class pytak.TXWorker(queue: Queue | Queue, config: None | SectionProxy | dict, writer: Protocol)
Works data queue and hands off to Protocol Workers.
You should create an TXWorker Instance using the pytak.txworker_factory() Function.
Data is put onto the Queue using a pytak.QueueWorker() instance.
- __init__(queue: Queue | Queue, config: None | SectionProxy | dict, writer: Protocol) None
Initialize a TXWorker instance.
Methods
__init__(queue, config, writer)Initialize a TXWorker instance.
fts_compat()Apply FreeTAKServer (FTS) compatibility.
handle_data(data)Accept CoT event from CoT event queue and process for writing.
run([number_of_iterations])Run this Thread, reads Data from Queue & passes data to next Handler.
send_data(data)Send Data using the appropriate Protocol method.