jmri.jmrix.ecos.networkdriver
Class NetworkDriverAdapter
java.lang.Object
jmri.jmrix.AbstractPortController
jmri.jmrix.AbstractNetworkPortController
jmri.jmrix.ecos.EcosPortController
jmri.jmrix.ecos.networkdriver.NetworkDriverAdapter
- All Implemented Interfaces:
- NetworkPortAdapter, PortAdapter
public class NetworkDriverAdapter
- extends EcosPortController
- implements NetworkPortAdapter
Implements SerialPortAdapter for the ECOS system network connection.
This connects
an ECOS command station via a telnet connection.
Normally controlled by the NetworkDriverFrame class.
- Author:
- Bob Jacobsen Copyright (C) 2001, 2002, 2003, 2008
| 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 |
| Methods inherited from interface jmri.jmrix.NetworkPortAdapter |
configureOption1, configureOption2, connect, connect, getCurrentOption1Setting, getCurrentOption2Setting, getCurrentPortName, getHostName, getPort, option1Name, option2Name, setHostName, setPort, setPort, validOption1, validOption2 |
NetworkDriverAdapter
public NetworkDriverAdapter()
getSystemConnectionMemo
public EcosSystemConnectionMemo getSystemConnectionMemo()
- Specified by:
getSystemConnectionMemo in interface PortAdapter- Overrides:
getSystemConnectionMemo in class AbstractNetworkPortController
configure
public void configure()
- set up all of the other objects to operate with an ECOS command
station connected to this port
- Specified by:
configure in interface NetworkPortAdapter- Specified by:
configure in interface PortAdapter
status
public boolean status()
- Description copied from class:
AbstractNetworkPortController
- Query the status of this connection. If all OK, at least
as far as is known, return true
- Specified by:
status in interface NetworkPortAdapter- Specified by:
status in interface PortAdapter- Overrides:
status in class AbstractNetworkPortController
dispose
public void dispose()
- Specified by:
dispose in interface PortAdapter- Overrides:
dispose in class AbstractNetworkPortController
closeConnection
protected void closeConnection()
resetupConnection
protected void resetupConnection()
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: