Class SendSignal
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<EmptyResponse>
uk.ac.manchester.spinnaker.messages.scp.SendSignal
- All Implemented Interfaces:
SerializableMessage
public class SendSignal extends SCPRequest<EmptyResponse>
A request to send a signal to cores. This supports any signal that uses
either multicast or
nearest neighbour propagation
rules; the difference between propagation types is not normally important to
user code. There is no response payload.
See signal_app()
in scamp-app.c
for where these signals
handled or transferred to user code, and sark_int()
in
sark_base.c
for the normal user-code handlers.
- See Also:
CountState
-
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
argument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeader
-
Constructor Summary
Constructors Constructor Description SendSignal(AppID appID, Signal signal)
-
Method Summary
Modifier and Type Method Description EmptyResponse
getSCPResponse(ByteBuffer buffer)
Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
getMessageData
-
Constructor Details
-
SendSignal
- Parameters:
appID
- The ID of the application to signal (only for multicast signals).signal
- The signal to send.
-
-
Method Details
-
getSCPResponse
Description copied from class:SCPRequest
Parse the response to this message.- Specified by:
getSCPResponse
in classSCPRequest<EmptyResponse>
- Parameters:
buffer
- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-