jmri.jmrix.loconet
Class LnNetworkPortController
java.lang.Object
jmri.jmrix.AbstractPortController
jmri.jmrix.AbstractNetworkPortController
jmri.jmrix.loconet.LnNetworkPortController
- All Implemented Interfaces:
- NetworkPortAdapter, PortAdapter
- Direct Known Subclasses:
- LnTcpDriverAdapter
public abstract class LnNetworkPortController
- extends AbstractNetworkPortController
Base for classes representing a LocoNet communications port
- Author:
- Kevin Dickerson Copyright (C) 2011
| Methods inherited from class jmri.jmrix.AbstractNetworkPortController |
connect, connect, dispose, getCurrentPortName, getHostName, getInputStream, getOutputStream, getPort, getSystemConnectionMemo, setHostName, setPort, setPort, status |
| Methods inherited from class jmri.jmrix.AbstractPortController |
configureOption1, configureOption2, getCurrentOption1Setting, getCurrentOption2Setting, getDisabled, getManufacturer, option1Name, option2Name, setManufacturer, validOption1, validOption2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adaptermemo
protected LocoNetSystemConnectionMemo adaptermemo
mCanRead
protected boolean mCanRead
mProgPowersOff
protected boolean mProgPowersOff
commandStationName
protected String commandStationName
commandStationNames
protected String[] commandStationNames
LnNetworkPortController
public LnNetworkPortController()
setCommandStationType
public void setCommandStationType(String value)
- Set config info from the command station type name.
setDisabled
public void setDisabled(boolean disabled)
- Description copied from interface:
PortAdapter
- Sets whether the connection is disabled
- Specified by:
setDisabled in interface PortAdapter- Overrides:
setDisabled in class AbstractNetworkPortController
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: