Class MachineResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.MachineResponse
The description of an individual machine.
- Author:
- Donal Fellows
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal List<BoardCoords>The boards of the machine marked as down.The links of the machine marked as down.final intThe height of the machine, in triads.final URIWhere to look up a board by its ethernet IP address.final URIWhere to look up a board by global chip address.final URIWhere to look up a board by logical coordinates.final URIWhere to look up a board by physical coordinates.final StringThe name of the machine.The tags of the machine.final intThe width of the machine, in triads.
- 
Constructor SummaryConstructorsConstructorDescriptionMachineResponse(SpallocAPI.Machine machine, jakarta.ws.rs.core.UriInfo ui) Create a machine response.
- 
Method Summary
- 
Field Details- 
nameThe name of the machine.
- 
tagsThe tags of the machine.
- 
widthpublic final int widthThe width of the machine, in triads.
- 
heightpublic final int heightThe height of the machine, in triads.
- 
downBoardsThe boards of the machine marked as down.
- 
downLinksThe links of the machine marked as down.
- 
lookupByPhysicalBoardWhere to look up a board by physical coordinates.
- 
lookupByLogicalBoardWhere to look up a board by logical coordinates.
- 
lookupByChipWhere to look up a board by global chip address.
- 
lookupByAddressWhere to look up a board by its ethernet IP address.
 
- 
- 
Constructor Details- 
MachineResponseCreate a machine response.- Parameters:
- machine- The machine being described.
- ui- How to manufacture URIs. May be- null.
 
 
-