001package jmri.jmrix.acela; 002 003/** 004 * Interface to send/receive Acela information. 005 * 006 * @author Bob Jacobsen Copyright (C) 2001 007 * @author Bob Coleman Copyright (C) 2007, 2008 Based on CMRI serial example, 008 * modified to establish Acela support. 009 */ 010public interface AcelaInterface { 011 012 void addAcelaListener(AcelaListener l); 013 014 void removeAcelaListener(AcelaListener l); 015 016 boolean status(); // true if the implementation is operational 017 018 void sendAcelaMessage(AcelaMessage m, AcelaListener l); // 2nd arg gets the reply 019 020}