001package jmri.jmrix.maple; 002 003/** 004 * Interface to send/receive line information 005 * 006 * @author Bob Jacobsen Copyright (C) 2001, 2008 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 019 020