Package jmri.jmrix.qsi
Interface QsiInterface
-
- All Known Implementing Classes:
QsiTrafficController
public interface QsiInterface
Define interface for sending and receiving messages to the QSI command station.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddQsiListener(QsiListener l)voidremoveQsiListener(QsiListener l)voidsendQsiMessage(QsiMessage m, QsiListener l)Send a message through the interface.booleanstatus()Test operational status of interface.
-
-
-
Method Detail
-
addQsiListener
void addQsiListener(QsiListener l)
-
removeQsiListener
void removeQsiListener(QsiListener l)
-
status
boolean status()
Test operational status of interface.- Returns:
- true is interface implementation is operational
-
sendQsiMessage
void sendQsiMessage(QsiMessage m, QsiListener l)
Send a message through the interface.- Parameters:
m- Message to be sent.l- Listener to be notified of reply.
-
-