001package jmri.jmrix.tmcc;
002
003/**
004 * Interface to send/receive serial TMCC information.
005 *
006 * @author Bob Jacobsen Copyright (C) 2001, 2006
007 */
008public interface SerialInterface {
009
010    void addSerialListener(SerialListener l);
011
012    void removeSerialListener(SerialListener l);
013
014    boolean status(); // true if the implementation is operational
015
016    void sendSerialMessage(SerialMessage m, SerialListener l);  // 2nd arg gets the reply
017
018}