Class LocateConnectedMachineIPAddress
java.lang.Object
uk.ac.manchester.spinnaker.connections.LocateConnectedMachineIPAddress
Locate any SpiNNaker machines IP addresses from the auto-transmitted packets
from non-booted SpiNNaker machines.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidlocateConnectedMachine(BiPredicate<InetAddress, Calendar> handler) Locates any SpiNNaker machines IP addresses from the auto-transmitted packets from non-booted SpiNNaker machines.static voidA little program that listens for, and prints, the pre-boot messages published by SpiNNaker boards.
-
Method Details
-
locateConnectedMachine
public static void locateConnectedMachine(BiPredicate<InetAddress, Calendar> handler) throws IOExceptionLocates any SpiNNaker machines IP addresses from the auto-transmitted packets from non-booted SpiNNaker machines.- Parameters:
handler- A predicate that decides whether to stop searching (we stop if the predicate returns true). The predicate is given two arguments: the IP address found and the current time. Note that each board is only reported once.- Throws:
IOException- If anything goes wrong
-
main
A little program that listens for, and prints, the pre-boot messages published by SpiNNaker boards.- Parameters:
args- ignored- Throws:
IOException- if anything goes wrong.
-