001package jmri.jmrix.cmri.serial; 002 003import jmri.SystemConnectionMemo; 004 005/** 006 * Abstract base for classes representing a CMRI communications port. 007 * 008 * @author Bob Jacobsen Copyright (C) 2001 009 */ 010public abstract class SerialPortAdapter extends jmri.jmrix.AbstractSerialPortController { 011 // base class. Implementations will provide InputStream and OutputStream 012 // objects to SerialTrafficController classes, who in turn will deal in messages. 013 014 protected SerialPortAdapter(SystemConnectionMemo connectionMemo) { 015 super(connectionMemo); 016 } 017 018 // check that this object is ready to operate 019 @Override 020 public abstract boolean status(); 021 022}