Class FixedRouteRead.Response
java.lang.Object
uk.ac.manchester.spinnaker.messages.scp.SCPResponse
uk.ac.manchester.spinnaker.messages.scp.CheckOKResponse
uk.ac.manchester.spinnaker.messages.scp.PayloadedResponse<RoutingEntry,RuntimeException>
uk.ac.manchester.spinnaker.messages.scp.FixedRouteRead.Response
- All Implemented Interfaces:
Supplier<RoutingEntry>
- Enclosing class:
- FixedRouteRead
protected final class FixedRouteRead.Response
extends PayloadedResponse<RoutingEntry,RuntimeException>
Response for the fixed route read.
-
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPResponse
result, sdpHeader, sequence -
Method Summary
Modifier and TypeMethodDescriptionprotected RoutingEntryparse(ByteBuffer buffer) Parse the payload of a response.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.PayloadedResponse
getMethods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPResponse
throwIfNotOK
-
Method Details
-
parse
Description copied from class:PayloadedResponseParse the payload of a response. The buffer will be positioned after the checked header.- Specified by:
parsein classPayloadedResponse<RoutingEntry,RuntimeException> - Parameters:
buffer- The buffer to parse. Little-endian.- Returns:
- the fixed route router route.
-