Package jmri.jmrix.dcc4pc
Class Dcc4PcBoardManager
- java.lang.Object
-
- jmri.jmrix.dcc4pc.Dcc4PcBoardManager
-
- All Implemented Interfaces:
java.util.EventListener
,AbstractMRListener
,Dcc4PcListener
public class Dcc4PcBoardManager extends java.lang.Object implements Dcc4PcListener
Implement BoardManager for Dcc4Pc systems.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList<java.lang.Integer>
boardsToDiscover
(package private) Dcc4PcSensorManager
senManager
(package private) Dcc4PcTrafficController
tc
-
Constructor Summary
Constructors Constructor Description Dcc4PcBoardManager(Dcc4PcTrafficController tc, Dcc4PcSensorManager senManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addBoard(int newBoard)
void
handleTimeout(Dcc4PcMessage m)
void
message(Dcc4PcMessage m)
void
notifyMessage(Dcc4PcMessage m)
void
notifyReply(Dcc4PcReply m)
void
reply(Dcc4PcReply r)
-
-
-
Field Detail
-
boardsToDiscover
java.util.ArrayList<java.lang.Integer> boardsToDiscover
-
senManager
Dcc4PcSensorManager senManager
-
-
Constructor Detail
-
Dcc4PcBoardManager
public Dcc4PcBoardManager(Dcc4PcTrafficController tc, Dcc4PcSensorManager senManager)
-
-
Method Detail
-
notifyReply
public void notifyReply(Dcc4PcReply m)
-
notifyMessage
public void notifyMessage(Dcc4PcMessage m)
-
addBoard
protected void addBoard(int newBoard)
-
reply
public void reply(Dcc4PcReply r)
- Specified by:
reply
in interfaceDcc4PcListener
-
handleTimeout
public void handleTimeout(Dcc4PcMessage m)
- Specified by:
handleTimeout
in interfaceDcc4PcListener
-
message
public void message(Dcc4PcMessage m)
- Specified by:
message
in interfaceDcc4PcListener
-
-