spinnman.messages package

Subpackages

Submodules

spinnman.messages.multicast_message module

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

Bases: object

A SpiNNaker Multicast message, comprising a key (determining the target locations) and an optional payload.

Parameters:
  • key – The key of the packet

  • payload – The optional payload of the packet

property key: int

The key of the packet.

Return type:

int

property payload: int | None

The payload of the packet if there is one, or None if there is no payload.

Return type:

int or None

Module contents