Modifier and Type | Method and Description |
---|---|
Device |
Server.getDevice(int pos)
getDevice: returns the device in the position specified.
|
Device |
Server.getDevice(java.lang.String name)
getDevice: returns the device whose name matches with the parameter.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Device> |
Server.getListDevices()
getListDevices: return the list of devices
|
Modifier and Type | Method and Description |
---|---|
void |
Server.addDevice(Device device)
addDevice: This add a Device to the list of devices in the Server
|
void |
Server.updateDevice(Device device)
updateDevice: update the device in the device list
|