Previous topic

spinnman.connections.listeners.queuers package

Next topic

spinnman.connections.listeners.queuers.callback_worker module

This Page

spinnman.connections.listeners.queuers.abstract_port_queuer module

class spinnman.connections.listeners.queuers.abstract_port_queuer.AbstractPortQueuer[source]

Bases: threading.Thread

A Queue for packets received

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

get_packet() Get the next packet from the queue
run()
stop() Stop the thread

Detailed Methods

get_packet()[source]

Get the next packet from the queue

Returns:The next packet, or None if the queue has been stopped
run()[source]
stop()[source]

Stop the thread