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, comprising 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

property key

The key of the packet.

Return type:

int

property payload

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

Return type:

int or None

Module contents