Class Connection
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Connection
Describes a connection by its chip and hostname.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChip()
Get the chip connected to.Get the host name connected to.void
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
-