001package jmri.jmrix.srcp;
002
003/**
004 * Layout interface, similar to command station
005 *
006 * @author Bob Jacobsen Copyright (C) 2001
007 */
008public interface SRCPInterface {
009
010    void addSRCPListener(SRCPListener l);
011
012    void removeSRCPListener(SRCPListener l);
013
014    boolean status();   // true if the implementation is operational
015
016    void sendSRCPMessage(SRCPMessage m, SRCPListener l);  // 2nd arg gets the reply
017}
018
019
020