Class BootConnection

java.lang.Object
uk.ac.manchester.spinnaker.connections.UDPConnection<BootMessage>
uk.ac.manchester.spinnaker.connections.BootConnection
All Implemented Interfaces:
Closeable, AutoCloseable, Connection

public class BootConnection
extends UDPConnection<BootMessage>
A connection to the SpiNNaker board that uses UDP for booting.
  • Constructor Details

    • BootConnection

      public BootConnection​(InetAddress localHost, Integer localPort, InetAddress remoteHost, Integer remotePort) throws IOException
      Creates a boot connection.
      Parameters:
      localHost - The local host to bind to. If null defaults to bind to all interfaces, unless remoteHost is specified, in which case binding is done to the IP address that will be used to send packets.
      localPort - The local port to bind to, between 1025 and 32767. If null, defaults to a random unused local port
      remoteHost - The remote host to send packets to. If null, the socket will be available for listening only, and will throw and exception if used for sending
      remotePort - The remote port to send packets to. If null, a default value is used.
      Throws:
      IOException - If there is an error setting up the communication channel
  • Method Details