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
Data speed up packet gatherer description.
- Author:
- Christian-B, Alan Stokes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeReference<List<Gather>>
Type reference for deserializing a list of gatherer descriptions. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.manchester.spinnaker.machine.HasChipLocation
asChipLocation, getScampCore, onSameChipAs
Methods inherited from interface uk.ac.manchester.spinnaker.machine.HasCoreLocation
asCoreLocation, onSameCoreAs
-
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, 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 uk.ac.manchester.spinnaker.machine.tags.IPTag getIptag()- Returns:
- the iptag
-
getMonitors
- Returns:
- the monitors (read-only)
-