Package jmri.jmrix.sprog
Interface SprogInterface
- All Known Implementing Classes:
SprogCSStreamPortController,SprogTrafficController
public interface SprogInterface
Define interface for sending and receiving messages to the SPROG command
station.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidSend a message through the interface.booleanstatus()Test operational status of interface.
-
Method Details
-
addSprogListener
-
removeSprogListener
-
status
boolean status()Test operational status of interface.- Returns:
- true if interface implementation is operational.
-
sendSprogMessage
Send a message through the interface.- Parameters:
m- Message to be sent.l- Listener to be notified of reply.
-