java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.request.Gather
All Implemented Interfaces:
HasChipLocation, HasCoreLocation

public class Gather extends Object implements HasCoreLocation
Data speed up packet gatherer description.
Author:
Christian-B, Alan Stokes
  • Field Details

    • LIST

      public static final TypeReference<List<Gather>> LIST
      Type reference for deserializing a list of gatherer descriptions.
  • Method Details

    • getX

      public int getX()
      Specified by:
      getX in interface HasChipLocation
      Returns:
      The X coordinate of the chip.
    • getY

      public int getY()
      Specified by:
      getY in interface HasChipLocation
      Returns:
      The Y coordinate of the chip.
    • getP

      public int getP()
      Specified by:
      getP in interface HasCoreLocation
      Returns:
      The processor coordinate of the core on its chip.
    • getNextTransactionId

      public int getNextTransactionId()
      Sets the transaction ID to a new value and returns that new value.
      Returns:
      The new transaction ID.
    • updateTransactionIdFromMachine

      public void updateTransactionIdFromMachine(TransceiverInterface txrx) throws IOException, ProcessException, InterruptedException
      sets the transaction id from the machine.
      Parameters:
      txrx - spinnman instance
      Throws:
      ProcessException - If SpiNNaker rejects a message.
      IOException - If anything goes wrong with networking.
      InterruptedException - If communications are interrupted.
    • getIptag

      public IPTag getIptag()
      Returns:
      the iptag
    • getMonitors

      public List<Monitor> getMonitors()
      Returns:
      the monitors (read-only)