Class ConnectionInfo

java.lang.Object
uk.ac.manchester.spinnaker.alloc.model.ConnectionInfo

@Immutable public final class ConnectionInfo extends Object
Describes a connection by its chip and hostname.
See Also:
  • Constructor Details

    • ConnectionInfo

      public ConnectionInfo(HasChipLocation chip, String hostname)
      Create.
      Parameters:
      chip - the chip
      hostname - the host
  • Method Details

    • getChip

      public ChipLocation getChip()
      Returns:
      The chip for the connection.
    • getHostname

      public String getHostname()
      Returns:
      Where to connect to to talk to the chip.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object