Class IobufRequest

java.lang.Object
uk.ac.manchester.spinnaker.front_end.iobuf.IobufRequest

public class IobufRequest
extends Object
The request to read some IOBUFs off a SpiNNaker system. Parses a JSON request in this format:
   {
      "/some/path/abc.aplx": [ [0,0,1], [0,0,2], [0,0,3] ],
      "/some/path/def.aplx": [ [0,1,1], [0,1,2], [0,1,3] ],
      "/some/path/ghi.aplx": [ [1,0,1], [1,0,2], [0,0,4] ]
   }
 
Author:
Donal Fellows
  • Constructor Details

    • IobufRequest

      public IobufRequest​(Map<String,​List<List<Integer>>> map)
      Parameters:
      map - A mapping from fully qualified filenames to an array of sub-arrays of integers, where each sub-array is three elements long.
      Throws:
      IllegalArgumentException - If any core is used more than once, whether for the same executable or a different one.
  • Method Details

    • getRequestDetails

      public Map<File,​uk.ac.manchester.spinnaker.machine.CoreSubsets> getRequestDetails()
      Returns:
      The mapping from executables to the cores on which they are running.