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 EasyDccNetworkPortController extends jmri.jmrix.AbstractNetworkPortController { 011 012 /** 013 * Base class. Implementations will provide InputStream and OutputStream 014 * objects to EasyDccTrafficController classes, who in turn will deal in messages. 015 * 016 * @param connectionMemo associated memo for this connection 017 */ 018 protected EasyDccNetworkPortController(SystemConnectionMemo connectionMemo) { 019 super(connectionMemo); 020 setManufacturer(EasyDccConnectionTypeList.EASYDCC); 021 } 022 023 @Override 024 public EasyDccSystemConnectionMemo getSystemConnectionMemo() { 025 return (EasyDccSystemConnectionMemo) super.getSystemConnectionMemo(); 026 } 027 028}