Package jmri.jmrix.tams
Interface TamsInterface
-
- All Known Implementing Classes:
TamsTrafficController
public interface TamsInterface
Define interface for sending and receiving messages to the Tams command station. Based on work by Bob Jacobsen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTamsListener(TamsListener l)
void
removeTamsListener(TamsListener l)
void
sendTamsMessage(TamsMessage m, TamsListener l)
Send a message through the interface.boolean
status()
Test operational status of interface.
-
-
-
Method Detail
-
addTamsListener
void addTamsListener(TamsListener l)
-
removeTamsListener
void removeTamsListener(TamsListener l)
-
status
boolean status()
Test operational status of interface.- Returns:
- true is interface implementation is operational.
-
sendTamsMessage
void sendTamsMessage(TamsMessage m, TamsListener l)
Send a message through the interface.- Parameters:
m
- Message to be sent.l
- Listener to be notified of reply.
-
-