001package jmri.jmrix.rfid; 002 003/** 004 * Interface to send/receive serial information 005 * 006 * @author Bob Jacobsen Copyright (C) 2001, 2006, 2007, 2008, 2010 007 * @author Matthew Harris Copyright (C) 2011 008 * @since 2.11.4 009 */ 010public interface RfidInterface { 011 012 void addRfidListener(RfidListener l); 013 014 void removeRfidListener(RfidListener l); 015 016 boolean status(); // true if the implementation is operational 017 018 void sendRfidMessage(RfidMessage m, RfidListener l); // 2nd arg gets the reply 019}