|
libSDRForge
|
A single owner thread for the ZeroMQ PUB socket. More...
Public Member Functions | |
| None | __init__ (self, SpectrumPublisher publisher, str endpoint, *, int hwm=2, float poll_seconds=0.02) |
| Initialize the instance. | |
| None | start (self) |
| Start the component. | |
| None | stop (self) |
| Stop the component. | |
Protected Member Functions | |
| None | _run (self) |
Protected Attributes | |
| _publisher = publisher | |
| _endpoint = endpoint | |
| _hwm = hwm | |
| _poll_seconds = poll_seconds | |
| _stop = Event() | |
| Thread|None | _thread = None |
| SpectrumSubscription|None | _subscription = None |
| SpectrumZmqPublisher|None | _transport = None |
| _ready = Event() | |
| Exception|None | _startup_error = None |
A single owner thread for the ZeroMQ PUB socket.
The receiver publishes IQ to SpectrumPublisher; this bridge reads a bounded subscription and forwards only the newest spectrum frame.
| None spectrum_zmq_bridge.SpectrumZmqBridge.__init__ | ( | self, | |
| SpectrumPublisher | publisher, | ||
| str | endpoint, | ||
| * | , | ||
| int | hwm = 2, | ||
| float | poll_seconds = 0.02 ) |
Initialize the instance.
| self | The current instance. |
| publisher | The publisher value. |
| endpoint | The endpoint value. |
| hwm | The hwm value. |
| poll_seconds | The poll_seconds value. |
|
protected |
| None spectrum_zmq_bridge.SpectrumZmqBridge.start | ( | self | ) |
Start the component.
| self | The current instance. |
| None spectrum_zmq_bridge.SpectrumZmqBridge.stop | ( | self | ) |
Stop the component.
| self | The current instance. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |