Package jmri.jmrix.nce
Class NceConnectionStatus
- java.lang.Object
-
- jmri.jmrix.nce.NceConnectionStatus
-
- All Implemented Interfaces:
java.util.EventListener
,AbstractMRListener
,NceListener
public class NceConnectionStatus extends java.lang.Object implements NceListener
Continuously checks and confirms that the communication link to the NCE Command Station is operational by reading the revision number of the EPROM. Only invokes the EPROM read when the interface experiences a timeout.Checks revision of NCE CS by reading the 3 byte revision. Sends a warning message NCE EPROM found and preferences are not correct for revision selected.
Also checks for March 2007 EPROM and warns user about Monitoring feedback. Confirms connection to PowerCab by issuing dummy loco command.
-
-
Constructor Summary
Constructors Constructor Description NceConnectionStatus(NceTrafficController tc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
message(NceMessage m)
NceMessage
nceEpromPoll()
void
reply(NceReply r)
-
-
-
Constructor Detail
-
NceConnectionStatus
public NceConnectionStatus(NceTrafficController tc)
-
-
Method Detail
-
nceEpromPoll
public NceMessage nceEpromPoll()
-
message
public void message(NceMessage m)
- Specified by:
message
in interfaceNceListener
-
reply
public void reply(NceReply r)
- Specified by:
reply
in interfaceNceListener
-
-