Class Connection
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Connection
public class Connection extends Object
Describes a connection by its chip and hostname.
-
Constructor Summary
Constructors Constructor Description Connection()
-
Method Summary
Modifier and Type Method Description Chip
getChip()
Get the chip connected to.String
getHostname()
Get the host name connected to.void
setChip(Chip chip)
Set the chip connected to.void
setHostname(String hostname)
Set the host name connected to.
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
getChip
Get the chip connected to.- Returns:
- The chip
-
setChip
Set the chip connected to.- Parameters:
chip
- The chip to set
-
getHostname
Get the host name connected to.- Returns:
- The host name
-
setHostname
Set the host name connected to.- Parameters:
hostname
- The host name to set
-