Class Connection
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Connection
@Immutable public final class Connection extends Object
Describes a connection by its chip and hostname.
-
Constructor Summary
Constructors Constructor Description Connection(HasChipLocation chip, String hostname)
Create. -
Method Summary
Modifier and Type Method Description boolean
equals(Object other)
ChipLocation
getChip()
String
getHostname()
int
hashCode()
String
toString()
-
Constructor Details
-
Connection
Create.- Parameters:
chip
- the chiphostname
- the host
-
-
Method Details