public abstract class LnNetworkPortController extends AbstractNetworkPortController
Modifier and Type | Method and Description |
---|---|
void |
configureOption3(String value)
Set the third port option.
|
LocoNetSystemConnectionMemo |
getSystemConnectionMemo()
Get the
SystemConnectionMemo associated with this
object. |
void |
setCommandStationType(LnCommandStationType value)
Set configcommand station type.
|
void |
setCommandStationType(String name)
Set config info from a name, which needs to be one of the valid ones.
|
void |
setTranspondingAvailable(String value)
Set whether transponding is available.
|
void |
setTurnoutHandling(String value) |
autoConfigure, connect, connect, dispose, getAdvertisementName, getCurrentPortName, getHostName, getInputStream, getMdnsConfigure, getOutputStream, getPort, getServiceType, reconnect, recover, setAdvertisementName, setHostName, setMdnsConfigure, setPort, setPort, setServiceType, status
configureOption1, configureOption2, 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
configure
configureOption1, configureOption2, configureOption4, getDisabled, getManufacturer, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isRestartRequired, setDisabled, setManufacturer, setOptionState, setSystemConnectionMemo, setSystemPrefix, setUserName
public void setCommandStationType(String name)
name
- the name of the command stationpublic void setCommandStationType(LnCommandStationType value)
value
- command station type enumpublic LocoNetSystemConnectionMemo getSystemConnectionMemo()
AbstractPortController
SystemConnectionMemo
associated with this
object.
This method should only be overridden to ensure that a specific subclass
of SystemConnectionMemo is returned. The recommended pattern is:
public MySystemConnectionMemo getSystemConnectionMemo() {
return (MySystemConnectionMemo) super.getSystemConnectionMemo();
}
getSystemConnectionMemo
in interface PortAdapter
getSystemConnectionMemo
in class AbstractPortController
public void setTurnoutHandling(String value)
public void setTranspondingAvailable(String value)
value
- either yes or nopublic void configureOption3(String value)
configureOption3
in interface PortAdapter
configureOption3
in class AbstractPortController
value
- to set the option toCopyright © 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: