jmri.jmrix.ecos
Interface EcosInterface

All Known Implementing Classes:
EcosTrafficController

public interface EcosInterface

Define interface for sending and receiving messages to the ECOS command station.

Author:
Bob Jacobsen Copyright (C) 2001, 2008

Method Summary
 void addEcosListener(EcosListener l)
           
 void removeEcosListener(EcosListener l)
           
 void sendEcosMessage(EcosMessage m, EcosListener l)
          Send a message through the interface.
 boolean status()
          Test operational status of interface.
 

Method Detail

addEcosListener

void addEcosListener(EcosListener l)

removeEcosListener

void removeEcosListener(EcosListener l)

status

boolean status()
Test operational status of interface.

Returns:
true is interface implementation is operational.

sendEcosMessage

void sendEcosMessage(EcosMessage m,
                     EcosListener l)
Send a message through the interface.

Parameters:
m - Message to be sent.
l - Listener to be notified of reply.


Copyright © 1997 - 2011 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads