Package jmri.jmrit.withrottle
Interface DeviceManager
- All Known Implementing Classes:
FacelessServer
public interface DeviceManager
Interface for WiThrottle device managers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContainer for runninglisten()in a separate thread. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a device listener that will be added for each new device connectiondefault voidthe roster group to send.voidlisten()voidRemove a device listener from the list that will be added for each new device connectionvoidsetSelectedRosterGroup(String group) Specify a roster group to send
-
Method Details
-
listen
void listen() -
createServerThread
-
addDeviceListener
Add a device listener that will be added for each new device connection- Parameters:
dl- the device listener to add
-
removeDeviceListener
Remove a device listener from the list that will be added for each new device connection- Parameters:
dl- the device listener to remove
-
setSelectedRosterGroup
Specify a roster group to send- Parameters:
group- the roster group.
-
getSelectedRosterGroup
the roster group to send.- Returns:
- the roster group
-