Interface SpiNNakerControl.Factory
- Enclosing interface:
- SpiNNakerControl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface SpiNNakerControl.Factory
A guide for how to make a BMP controller.
- Author:
- Donal Fellows
-
Method Summary
Modifier and Type Method Description SpiNNakerControl
create(SpallocAPI.Machine machine, BMPCoords coords, Map<BMPBoard,String> boardAddresses)
Create a SpiNNaker board controller.
-
Method Details
-
create
SpiNNakerControl create(SpallocAPI.Machine machine, BMPCoords coords, Map<BMPBoard,String> boardAddresses)Create a SpiNNaker board controller. Note that this is only provided for reference. It is up to the caller to ensure that the controller is the only controller that talks to a particular BMP; it is essential that only one controller and one thread accesses a BMP in order to prevent the BMP from crashing!- Parameters:
machine
- The machine that this will be managing.coords
- The coordinates of the BMP that this will manage.boardAddresses
- The IP addresses of the boards of the BMP.- Returns:
- The board controller.
-