Bases: spinnman.connections.abstract_classes.abstract_connection.AbstractConnection
A receiver of Multicast messages
Abstract Methods
get_input_chips() | Get a list of chips which identify the chips from which this receiver can receive receive packets directly |
receive_multicast_message([timeout]) | Receives a multicast message from this connection. |
Detailed Methods
Get a list of chips which identify the chips from which this receiver can receive receive packets directly
Returns: | An iterable of tuples of (x, y) where x is the x-coordinate of the chip and y is the y-coordinate of the chip |
---|---|
Return type: | iterable of (int, int) |
Raises None: | No known exceptions are raised |
Receives a multicast message from this connection. Blocks until a message has been received, or a timeout occurs.
Parameters: | timeout (int) – The time in seconds to wait for the message to arrive; if not specified, will wait forever, or until the connection is closed |
---|---|
Returns: | a multicast message |
Return type: | |
Raises: |
|