Previous topic

spinnman.messages.eieio.data_messages.eieio_with_payload_data_message module

Next topic

spinnman.messages.eieio.create_eieio_command module

This Page

spinnman.messages.eieio.data_messages.eieio_without_payload_data_message module

class spinnman.messages.eieio.data_messages.eieio_without_payload_data_message.EIEIOWithoutPayloadDataMessage(eieio_header, data_reader=None)[source]

Bases: spinnman.messages.eieio.data_messages.eieio_data_message.EIEIODataMessage

An EIEIO message without a payload

Attributes

eieio_header
is_next_element Determine if there is another element to be read
max_n_elements The maximum number of elements that can fit in the packet
n_elements The number of elements in the packet
next_element The next element to be read, or None if no more elements.
size The size of the packet with the current contents

Methods

add_key(key) Add a key to the packet

Detailed Methods

add_key(key)[source]

Add a key to the packet

Parameters:key (int) – The key to add
Raises SpinnmanInvalidParameterException:
 If the key is too big for the format