jmri.jmrix.cmri.serial
Class SerialPortController
java.lang.Object
jmri.jmrix.AbstractPortController
jmri.jmrix.AbstractSerialPortController
jmri.jmrix.cmri.serial.SerialPortController
- All Implemented Interfaces:
- PortAdapter, SerialPortAdapter
- Direct Known Subclasses:
- SerialDriverAdapter
public abstract class SerialPortController
- extends AbstractSerialPortController
Abstract base for classes representing a CMRI communications port
| Fields inherited from class jmri.jmrix.AbstractPortController |
allowConnectionRecovery, mDisabled, mManufacturer, opened, option1Name, option2Name, option3Name, option4Name, options, reconnectinterval, retryAttempts |
| Methods inherited from class jmri.jmrix.AbstractSerialPortController |
closeConnection, configureBaudRate, connect, currentBaudNumber, dispose, getCurrentBaudRate, getCurrentPortName, getPortNames, getSystemConnectionMemo, handlePortBusy, handlePortNotFound, reconnect, recover, resetupConnection, setDisabled, setPort, validBaudNumber |
| Methods inherited from class jmri.jmrix.AbstractPortController |
configureOption1, configureOption2, configureOption3, configureOption4, getDisabled, getManufacturer, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, isOptionAdvanced, safeSleep, setClosed, setManufacturer, setOpened, setOptionState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.jmrix.PortAdapter |
getDisabled, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, isOptionAdvanced, setOptionState |
SerialPortController
public SerialPortController()
getInputStream
public abstract DataInputStream getInputStream()
- Specified by:
getInputStream in interface PortAdapter- Specified by:
getInputStream in class AbstractPortController
getOutputStream
public abstract DataOutputStream getOutputStream()
- Specified by:
getOutputStream in interface PortAdapter- Specified by:
getOutputStream in class AbstractPortController
status
public abstract boolean status()
- Description copied from interface:
PortAdapter
- Query the status of this connection. If all OK, at least
as far as is known, return true
- Specified by:
status in interface PortAdapter- Specified by:
status in interface SerialPortAdapter- Overrides:
status in class AbstractPortController
Copyright © 1997-2013 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: