001package jmri.jmrix.rfid;
002
003import javax.annotation.Nonnull;
004import jmri.managers.AbstractReporterManager;
005import org.slf4j.Logger;
006import org.slf4j.LoggerFactory;
007
008/**
009 * Rfid implementation of a ReporterManager.
010 * <p>
011 * System names are "FRpppp", where ppp is a representation of the RFID reader.
012 *
013 * @author Bob Jacobsen Copyright (C) 2008
014 * @author Matthew Harris Copyright (C) 2011
015 * @since 2.11.4
016 */
017abstract public class RfidReporterManager extends AbstractReporterManager implements RfidListener {
018
019    public RfidReporterManager(RfidSystemConnectionMemo memo) {
020        super(memo);
021    }
022
023    /**
024     * {@inheritDoc}
025     */
026    @Override
027    @Nonnull
028    public RfidSystemConnectionMemo getMemo() {
029        return (RfidSystemConnectionMemo) memo;
030    }
031    @Override
032    public void message(RfidMessage m) {
033        log.warn("Unexpected message received: {}", m);
034    }
035
036    private static final Logger log = LoggerFactory.getLogger(RfidReporterManager.class);
037
038}