Package jmri.jmrix.xpa
Interface XpaInterface
-
- All Known Implementing Classes:
XpaTrafficController
public interface XpaInterface
Define interface for sending and receiving messages from an XpressNet System using an XPA and a modem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addXpaListener(XpaListener l)
void
removeXpaListener(XpaListener l)
void
sendXpaMessage(XpaMessage m, XpaListener l)
Send a message through the interface.boolean
status()
Test operational status of interface.
-
-
-
Method Detail
-
addXpaListener
void addXpaListener(XpaListener l)
-
removeXpaListener
void removeXpaListener(XpaListener l)
-
status
boolean status()
Test operational status of interface.- Returns:
- true if the interface implementation is operational.
-
sendXpaMessage
void sendXpaMessage(XpaMessage m, XpaListener l)
Send a message through the interface.- Parameters:
m
- Message to be sent.l
- Listener to be notified of reply.
-
-