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
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, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
sdpHeader -
Constructor Summary
ConstructorsConstructorDescriptionFixedRouteInitialise(HasChipLocation chip, int entry, AppID appID) FixedRouteInitialise(HasChipLocation chip, RoutingEntry entry, AppID appID) -
Method Summary
Modifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
addToBufferMethods 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:SCPRequestParse the response to this message.- Specified by:
getSCPResponsein classSCPRequest<EmptyResponse>- Parameters:
buffer- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-