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