Package jmri.jmrix.nce
Interface NceInterface
-
- All Known Implementing Classes:
NceTrafficController
public interface NceInterface
Define interface for sending and receiving messages to the NCE command station.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNceListener(NceListener l)voidremoveNceListener(NceListener l)voidsendNceMessage(NceMessage m, NceListener l)Send a message through the interface.booleanstatus()Test operational status of interface.
-
-
-
Method Detail
-
addNceListener
void addNceListener(NceListener l)
-
removeNceListener
void removeNceListener(NceListener l)
-
status
boolean status()
Test operational status of interface.- Returns:
- true is interface implementation is operational.
-
sendNceMessage
void sendNceMessage(NceMessage m, NceListener l)
Send a message through the interface.- Parameters:
m- Message to be sent.l- Listener to be notified of reply.
-
-