001package jmri.jmrix.can.adapters.lawicell;
002
003import jmri.SystemConnectionMemo;
004import jmri.jmrix.can.CanSystemConnectionMemo;
005
006/**
007 * Abstract base for classes representing a LAWICELL communications port.
008 *
009 * @author Bob Jacobsen Copyright (C) 2001, 2008
010 * @author Andrew Crosland 2008
011 */
012public abstract class PortController extends jmri.jmrix.AbstractSerialPortController {
013    // base class. Implementations will provide InputStream and OutputStream
014    // objects to TrafficController classes, who in turn will deal in messages.
015
016    protected PortController(SystemConnectionMemo connectionMemo) {
017        super(connectionMemo);
018    }
019
020    // check that this object is ready to operate
021    @Override
022    public abstract boolean status();
023
024    @Override
025    public CanSystemConnectionMemo getSystemConnectionMemo() {
026        return (CanSystemConnectionMemo) super.getSystemConnectionMemo();
027    }
028
029}
030