001package jmri.jmrix.jmriclient;
002
003/**
004 * Layout interface, similar to command station
005 *
006 * @author Bob Jacobsen Copyright (C) 2001
007 */
008public interface JMRIClientInterface {
009
010    void addJMRIClientListener(JMRIClientListener l);
011
012    void removeJMRIClientListener(JMRIClientListener l);
013
014    boolean status();   // true if the implementation is operational
015
016    void sendJMRIClientMessage(JMRIClientMessage m, JMRIClientListener l);  // 2nd arg gets the reply
017
018}