001package jmri.jmrix.roco.z21;
002
003/**
004 * Interface to send/receive serial information.
005 *
006 * @author Bob Jacobsen Copyright (C) 2001, 2006, 2007, 2008
007 */
008public interface Z21Interface {
009
010    void addz21Listener(Z21Listener l);
011
012    void removez21Listener(Z21Listener l);
013
014    //boolean status();   // true if the implementation is operational
015    void sendz21Message(Z21Message m, Z21Listener l);  // 2nd arg gets the reply
016
017}