Package jmri.jmrix.sprog.sprognano
Class SprogNanoSerialDriverAdapter
- java.lang.Object
- 
- jmri.jmrix.AbstractPortController
- 
- jmri.jmrix.AbstractSerialPortController
- 
- jmri.jmrix.sprog.SprogPortController
- 
- jmri.jmrix.sprog.serialdriver.SerialDriverAdapter
- 
- jmri.jmrix.sprog.sprognano.SprogNanoSerialDriverAdapter
 
 
 
 
 
- 
- All Implemented Interfaces:
- PortAdapter,- SerialPortAdapter
 
 public class SprogNanoSerialDriverAdapter extends SerialDriverAdapter Implements SerialPortAdapter for the Sprog system.This connects an SSPROG DCC SPROG Nano command station via a USB virtual serial com port. The current implementation only handles the 9,600 baud rate, and does not use any other options at configuration time. 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jmri.jmrix.AbstractSerialPortControllerAbstractSerialPortController.Blocking, AbstractSerialPortController.FlowControl
 - 
Nested classes/interfaces inherited from class jmri.jmrix.AbstractPortControllerAbstractPortController.Option
 
- 
 - 
Field Summary- 
Fields inherited from class jmri.jmrix.sprog.serialdriver.SerialDriverAdapternumSlots
 - 
Fields inherited from class jmri.jmrix.AbstractSerialPortControllercurrentSerialPort, mBaudRate, mPort
 - 
Fields inherited from class jmri.jmrix.AbstractPortControllerallowConnectionRecovery, manufacturerName, opened, option1Name, option2Name, option3Name, option4Name, options, reconnectinterval, reconnectMaxAttempts, reconnectMaxInterval
 
- 
 - 
Constructor SummaryConstructors Constructor Description SprogNanoSerialDriverAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()Set up all of the other objects to operate with an Sprog command station connected to this port.- 
Methods inherited from class jmri.jmrix.sprog.serialdriver.SerialDriverAdapterdefaultBaudIndex, dispose, openPort, setHandshake, validBaudNumbers, validBaudRates
 - 
Methods inherited from class jmri.jmrix.sprog.SprogPortControllergetSystemConnectionMemo
 - 
Methods inherited from class jmri.jmrix.AbstractSerialPortControlleractivatePort, activatePort, activatePort, closeConnection, closeSerialPort, configureBaudRate, configureBaudRateFromIndex, configureBaudRateFromNumber, configureLeads, configureLeadsAndFlowControl, configureLeadsAndFlowControl, connect, currentBaudNumber, getActualPortNames, getCurrentBaudIndex, getCurrentBaudNumber, getCurrentBaudRate, getCurrentPortName, getFlowControl, getInputStream, getOutputStream, getPortSettingsString, handlePortBusy, handlePortNotFound, handlePortNotFound, isPortOpen, replacePortWithFakePort, reportPortStatus, resetupConnection, setBaudRate, setComPortTimeouts, setDataListener, setFlowControl, setPort
 - 
Methods inherited from class jmri.jmrix.AbstractPortControllerconfigureOption1, configureOption2, configureOption3, configureOption4, getDisabled, getManufacturer, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getReconnectMaxAttempts, getReconnectMaxInterval, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isOptionTypePassword, isOptionTypeText, isRestartRequired, purgeStream, reconnect, reconnectFromLoop, recover, safeSleep, setClosed, setDisabled, setManufacturer, setOpened, setOptionState, setReconnectMaxAttempts, setReconnectMaxInterval, setSystemConnectionMemo, setSystemPrefix, setUserName, status
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jmri.jmrix.PortAdaptergetDisabled, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getReconnectMaxAttempts, getReconnectMaxInterval, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isOptionTypePassword, isOptionTypeText, isRestartRequired, recover, setDisabled, setOptionState, setReconnectMaxAttempts, setReconnectMaxInterval, setSystemConnectionMemo, setSystemPrefix, setUserName
 - 
Methods inherited from interface jmri.jmrix.SerialPortAdapterconfigureOption1, configureOption2, configureOption3, configureOption4, getManufacturer, getPortNames, setManufacturer, status
 
- 
 
- 
- 
- 
Constructor Detail- 
SprogNanoSerialDriverAdapterpublic SprogNanoSerialDriverAdapter() 
 
- 
 - 
Method Detail- 
configurepublic void configure() Set up all of the other objects to operate with an Sprog command station connected to this port.- Specified by:
- configurein interface- PortAdapter
- Specified by:
- configurein interface- SerialPortAdapter
- Overrides:
- configurein class- SerialDriverAdapter
 
 
- 
 
-