public class LocoBufferUsbAdapter extends LocoBufferAdapter
LocoBufferAdapter
so that it refers to the
(switch) settings on the LocoBuffer-USB.Constructor and Description |
---|
LocoBufferUsbAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
defaultBaudIndex()
Get the index of the default port speed for this adapter from the validSpeeds and validRates arrays.
|
int[] |
validBaudNumbers()
Get an array of valid baud rate numbers; used to store/load adapter speed option.
|
String[] |
validBaudRates()
Get an array of valid baud rate strings; used to display valid options in Connections Preferences.
|
configure, getCommandStationListWithStandaloneLN, getInputStream, getOutputStream, getPortNames, okToSend, openPort, status
getSystemConnectionMemo, setCommandStationType, setCommandStationType, setTranspondingAvailable, setTurnoutHandling
configureBaudRate, configureBaudRateFromIndex, configureBaudRateFromNumber, connect, currentBaudNumber, dispose, getCurrentBaudIndex, getCurrentBaudNumber, getCurrentBaudRate, getCurrentPortName, handlePortBusy, handlePortNotFound, reconnect, recover, setPort
configureOption1, configureOption2, configureOption3, configureOption4, getDisabled, getManufacturer, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isRestartRequired, setDisabled, setManufacturer, setOptionState, setSystemConnectionMemo, setSystemPrefix, setUserName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureOption1, configureOption2, configureOption3, configureOption4, getManufacturer, setManufacturer
getDisabled, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isRestartRequired, setDisabled, setOptionState, setSystemConnectionMemo, setSystemPrefix, setUserName
public String[] validBaudRates()
validBaudRates
in interface SerialPortAdapter
validBaudRates
in class LocoBufferAdapter
SerialPortAdapter.validBaudNumbers()
public int[] validBaudNumbers()
validBaudNumbers
in interface SerialPortAdapter
validBaudNumbers
in class LocoBufferAdapter
SerialPortAdapter.validBaudRates()
public int defaultBaudIndex()
SerialPortAdapter
defaultBaudIndex
in interface SerialPortAdapter
defaultBaudIndex
in class LocoBufferAdapter
Copyright © 1997-2019 JMRI Community.
JMRI®, DecoderPro®, PanelPro, SignalPro, SoundPro, DispatcherPro, TrainPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: