Package jmri.jmrit.withrottle
Interface DeviceManager
-
- All Known Implementing Classes:
FacelessServer
public interface DeviceManager
Interface for WiThrottle device managers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DeviceManager.DeviceManagerThread
Container for runninglisten()
in a separate thread.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addDeviceListener(DeviceListener dl)
Add a device listener that will be added for each new device connectiondefault void
createServerThread()
java.lang.String
getSelectedRosterGroup()
the roster group to send.void
listen()
void
removeDeviceListener(DeviceListener dl)
Remove a device listener from the list that will be added for each new device connectionvoid
setSelectedRosterGroup(java.lang.String group)
Specify a roster group to send
-
-
-
Method Detail
-
listen
void listen()
-
createServerThread
default void createServerThread()
-
addDeviceListener
void addDeviceListener(DeviceListener dl)
Add a device listener that will be added for each new device connection- Parameters:
dl
- the device listener to add
-
removeDeviceListener
void removeDeviceListener(DeviceListener dl)
Remove a device listener from the list that will be added for each new device connection- Parameters:
dl
- the device listener to remove
-
setSelectedRosterGroup
void setSelectedRosterGroup(java.lang.String group)
Specify a roster group to send- Parameters:
group
- the roster group.
-
getSelectedRosterGroup
java.lang.String getSelectedRosterGroup()
the roster group to send.- Returns:
- the roster group
-
-