001package jmri.jmrix.acela;
002
003/**
004 * Abstract base for classes representing an Acela communications port
005 *
006 * @author Bob Jacobsen Copyright (C) 2001
007  *
008 * @author Bob Coleman Copyright (C) 2007, 2008 Based on CMRI serial example,
009 * modified to establish Acela support.
010 */
011public abstract class AcelaPortController extends jmri.jmrix.AbstractSerialPortController {
012    // base class. Implementations will provide InputStream and OutputStream
013    // objects to AcelaTrafficController classes, who in turn will deal in messages.
014
015    protected AcelaPortController(AcelaSystemConnectionMemo memo) {
016        super(memo);
017    }
018
019    // check that this object is ready to operate
020    @Override
021    public abstract boolean status();
022
023    @Override
024    public AcelaSystemConnectionMemo getSystemConnectionMemo() {
025        return (AcelaSystemConnectionMemo) super.getSystemConnectionMemo();
026    }
027
028}