001package jmri.jmrix.ieee802154;
002
003/**
004 * Abstract base for classes representing a communications port
005 *
006 * @author Bob Jacobsen Copyright (C) 2001, 2006, 2007, 2008 Converted to
007 * multiple connection
008 * @author kcameron Copyright (C) 2011 Modified for IEEE 802.15.4 connection
009 * @author Paul Bender Copyright (C) 2013,2023
010 */
011public abstract class IEEE802154PortController extends jmri.jmrix.AbstractSerialPortController {
012
013    // base class. Implementations will provide InputStream and OutputStream
014    // objects to IEEE802154TrafficController classes, who in turn will deal in messages.
015    protected IEEE802154PortController(IEEE802154SystemConnectionMemo connectionMemo) {
016        super(connectionMemo);
017    }
018
019    @Override
020    public IEEE802154SystemConnectionMemo getSystemConnectionMemo() {
021        return (IEEE802154SystemConnectionMemo) super.getSystemConnectionMemo();
022    }
023
024    // check that this object is ready to operate
025    @Override
026    public abstract boolean status();
027
028}