Class FixedRouteRead
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<FixedRouteRead.Response>
uk.ac.manchester.spinnaker.messages.scp.FixedRouteRead
- All Implemented Interfaces:
SerializableMessage
public final class FixedRouteRead extends SCPRequest<FixedRouteRead.Response>
A request to read a fixed route entry. The response payload is the
routing entry.
Calls rtr_fr_get()
in sark_hw.c
, via rtr_cmd()
in
scamp-cmd.c
.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
FixedRouteRead.Response
Response for the fixed route read. -
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 FixedRouteRead(HasChipLocation chip, AppID appID)
-
Method Summary
Modifier and Type Method Description FixedRouteRead.Response
getSCPResponse(ByteBuffer buffer)
Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
getMessageData
-
Constructor Details
-
FixedRouteRead
- Parameters:
chip
- The chip to get the route from.appID
- The ID of the application associated with the route
-
-
Method Details
-
getSCPResponse
public FixedRouteRead.Response getSCPResponse(ByteBuffer buffer) throws UnexpectedResponseCodeExceptionDescription copied from class:SCPRequest
Parse the response to this message.- Specified by:
getSCPResponse
in classSCPRequest<FixedRouteRead.Response>
- Parameters:
buffer
- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-