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
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 ClassesModifier and TypeClassDescriptionprotected final class
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
Fields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
sdpHeader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSCPResponse
(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
addToBuffer
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 UnexpectedResponseCodeException Description 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
-