Package jmri.jmrit.withrottle
Interface DeviceListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
FacelessServer,UserInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoidA device has changed its address.voidnotifyDeviceConnected(DeviceServer device) A new device has connected.voidnotifyDeviceDisconnected(DeviceServer device) A device has quit and needs to be removed.voidnotifyDeviceInfoChanged(DeviceServer device) Some info (name, UDID) about the device has changed.
-
Method Details
-
notifyDeviceConnected
A new device has connected.- Parameters:
device- the device that has connected.
-
notifyDeviceDisconnected
A device has quit and needs to be removed.- Parameters:
device- the device that has quit.
-
notifyDeviceAddressChanged
A device has changed its address.- Parameters:
device- the device with changed address.
-
notifyDeviceInfoChanged
Some info (name, UDID) about the device has changed. Also used to detect duplicate of same device.- Parameters:
device- for which info has changed.
-