Previous topic

spinnman.connections.abstract_classes.udp_receivers.abstract_udp_eieio_data_receiver module

Next topic

spinnman.connections.abstract_classes.udp_receivers.abstract_udp_sdp_receiver module

This Page

spinnman.connections.abstract_classes.udp_receivers.abstract_udp_scp_receiver module

class spinnman.connections.abstract_classes.udp_receivers.abstract_udp_scp_receiver.AbstractUDPSCPReceiver[source]

Bases: spinnman.connections.abstract_classes.abstract_scp_receiver.AbstractSCPReceiver

A receiver of SCP messages

Abstract Methods

is_udp_scp_receiver()

Methods

receive_scp_response(scp_response[, timeout]) Receives an SCP message from this connection.

Detailed Methods

is_udp_scp_receiver()[source]
receive_scp_response(scp_response, timeout=None)[source]

Receives an SCP message from this connection. Blocks until a message has been received, or a timeout occurs.

Parameters:
  • scp_response – The response to fill in
  • timeout (int) – The time in seconds to wait for the message to arrive; if not specified, will wait forever, or until the connection is closed
Rtype scp_response:
 

spinnman.messages.scp.abstract_scp_response.AbstractSCPResponse

Returns:

Nothing is returned

Return type:

None

Raises: