Previous topic

spinnman.messages.eieio.command_messages.database_confirmation module

Next topic

spinnman.messages.eieio.command_messages.eieio_command_message module

This Page

spinnman.messages.eieio.command_messages.eieio_command_header module

class spinnman.messages.eieio.command_messages.eieio_command_header.EIEIOCommandHeader(command)[source]

Bases: object

EIEIO header for command packets

Attributes

command

Methods

read_eieio_header(byte_reader) Read an eieio command header from a byte_reader
write_eieio_header(writer) Write the command header to a writer

Detailed Methods

static read_eieio_header(byte_reader)[source]

Read an eieio command header from a byte_reader

Parameters:

byte_reader (spinnman.data.abstract_byte_reader.AbstractByteReader) – The reader to read the data from

Returns:

an eieio command header

Return type:

spinnman.messages.eieio.command_messages.eieio_command_header.EIEIOCommandHeader

Raises:
write_eieio_header(writer)[source]

Write the command header to a writer

Parameters:writer (spinnman.data.abstract_byte_writer.AbstractByteWriter) – the writer to write the header to
Returns:None