|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.withrottle.AbstractController
public abstract class AbstractController
Abstract for controllers that want to recieve or send communications to a connected wi-fi device.
| Constructor Summary | |
|---|---|
AbstractController()
|
|
| Method Summary | |
|---|---|
void |
addControllerListener(ControllerInterface listener)
Add a listener to handle: listener.sendPacketToDevice(message); |
void |
buildList(Manager manager)
Build list only if there are no controller listeners. |
void |
checkCanBuildList()
If no listeners, clear sysNameList pointer and allow list to be re-built *Manager can implement specifics in deregister(). |
void |
filterList()
|
void |
removeControllerListener(ControllerInterface listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractController()
| Method Detail |
|---|
public void buildList(Manager manager)
manager - public void filterList()
public void checkCanBuildList()
public void addControllerListener(ControllerInterface listener)
listener - public void removeControllerListener(ControllerInterface listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||