Bases: threading.Thread
Listens for SCP packets received from a connection, calling a callback function with received packets
Parameters: |
|
---|---|
Raises spinnman.exceptions.SpinnmanInvalidParameterException: | |
If the callback or the error_callback do not take the expected number of arguments |
Attributes
daemon | A boolean value indicating whether this thread is a daemon thread (True) or not (False). |
ident | Thread identifier of this thread or None if it has not been started. |
name | A string used for identification purposes only. |
Methods
run() | Overridden method of Thread that runs this listener |
start() | Starts listening and sending callbacks |
stop() | Stops the reception of packets |
Detailed Methods