spinnman.messages package

Subpackages

Submodules

spinnman.messages.multicast_message module

class spinnman.messages.multicast_message.MulticastMessage(key, payload=None)[source]

Bases: object

A SpiNNaker Multicast message

A multicast message has a key (determining the target locations) and an optional payload.

Parameters:
  • key (int) – The key of the packet
  • payload (int) – The optional payload of the packet
Raises:

None – No known exceptions are raised

key

The key of the packet

Returns:The key
Return type:int
payload

The payload of the packet if there is one

Returns:The payload, or None if there is no payload
Return type:int

Module contents