Class FixedRouteInitialise
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<EmptyResponse>
uk.ac.manchester.spinnaker.messages.scp.FixedRouteInitialise
- All Implemented Interfaces:
SerializableMessage
public final class FixedRouteInitialise extends SCPRequest<EmptyResponse>
A request to set a fixed route entry. There is no response payload.
Calls rtr_fr_set()
in sark_hw.c
, via rtr_cmd()
in
scamp-cmd.c
.
-
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 FixedRouteInitialise(HasChipLocation chip, int entry, AppID appID)
FixedRouteInitialise(HasChipLocation chip, RoutingEntry entry, AppID appID)
-
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
-
FixedRouteInitialise
- Parameters:
chip
- The chip to set the route on.entry
- The fixed route entry (converted for writing)appID
- The ID of the application
-
FixedRouteInitialise
- Parameters:
chip
- The chip to set the route on.entry
- The fixed route entryappID
- The ID of the application
-
-
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
-