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 void
addQsiListener(QsiListener l)
void
removeQsiListener(QsiListener l)
void
sendQsiMessage(QsiMessage m, QsiListener l)
Send a message through the interface.boolean
status()
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.
-
-