001package jmri.jmrix.grapevine;
002
003import jmri.SystemConnectionMemo;
004
005/**
006 * Abstract base for classes representing a communications port.
007 *
008 * @author Bob Jacobsen Copyright (C) 2001, 2006, 2007
009 */
010public abstract class SerialPortController extends jmri.jmrix.AbstractSerialPortController {
011
012    // base class. Implementations will provide InputStream and OutputStream
013    // objects to SerialTrafficController classes, who in turn will deal in messages.
014    protected SerialPortController(SystemConnectionMemo connectionMemo) {
015        super(connectionMemo);
016    }
017
018    /**
019     * {@inheritDoc}
020     */
021    @Override
022    public abstract boolean status();
023
024    @Override
025    public GrapevineSystemConnectionMemo getSystemConnectionMemo() {
026        return (GrapevineSystemConnectionMemo) super.getSystemConnectionMemo();
027    }
028
029}