Class Gather
java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.request.Gather
- All Implemented Interfaces:
uk.ac.manchester.spinnaker.machine.HasChipLocation
,uk.ac.manchester.spinnaker.machine.HasCoreLocation
public class Gather extends Object implements uk.ac.manchester.spinnaker.machine.HasCoreLocation
Data speed up packet gatherer description.
- Author:
- Christian-B, Alan Stokes
-
Field Summary
Fields Modifier and Type Field Description static TypeReference<List<Gather>>
LIST
Type reference for deserializing a list of gatherer descriptions. -
Method Summary
Modifier and Type Method Description uk.ac.manchester.spinnaker.machine.tags.IPTag
getIptag()
List<Monitor>
getMonitors()
int
getNextTransactionId()
Sets the transaction ID to a new value and returns that new value.int
getP()
int
getX()
int
getY()
void
updateTransactionIdFromMachine(TransceiverInterface txrx)
sets the transaction id from the machine.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
LIST
Type reference for deserializing a list of gatherer descriptions.
-
-
Method Details
-
getX
public int getX()- Specified by:
getX
in interfaceuk.ac.manchester.spinnaker.machine.HasChipLocation
-
getY
public int getY()- Specified by:
getY
in interfaceuk.ac.manchester.spinnaker.machine.HasChipLocation
-
getP
public int getP()- Specified by:
getP
in interfaceuk.ac.manchester.spinnaker.machine.HasCoreLocation
-
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, InterruptedExceptionsets 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 uk.ac.manchester.spinnaker.machine.tags.IPTag getIptag()- Returns:
- the iptag
-
getMonitors
- Returns:
- the monitors (read-only)
-