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.

Author:
Bob Jacobsen Copyright (C) 2001

Method Summary
 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.


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo