Previous topic

spinnman.connections.abstract_classes.abstract_multicast_receiver module

Next topic

spinnman.connections.abstract_classes.abstract_scp_receiver module

This Page

spinnman.connections.abstract_classes.abstract_multicast_sender module

class spinnman.connections.abstract_classes.abstract_multicast_sender.AbstractMulticastSender[source]

Bases: spinnman.connections.abstract_classes.abstract_connection.AbstractConnection

A sender of Multicast messages

Abstract Methods

get_input_chips() Get a list of chips which identify the chips to which this sender can send multicast packets directly
send_multicast_message(multicast_message) Sends a SpiNNaker multicast message using this connection

Detailed Methods

get_input_chips()[source]

Get a list of chips which identify the chips to which this sender can send multicast 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
send_multicast_message(multicast_message)[source]

Sends a SpiNNaker multicast message using this connection

Parameters:multicast_message (spinnman.messages.multicast_message.MulticastMessage) – The message to be sent
Returns:Nothing is returned
Return type:None
Raises spinnman.exceptions.SpinnmanIOException:
 If there is an error sending the message