Package jmri.jmrix.roco.z21
Class Z21LnStreamPortController
- java.lang.Object
-
- jmri.jmrix.AbstractPortController
-
- jmri.jmrix.AbstractStreamPortController
-
- jmri.jmrix.loconet.streamport.LnStreamPortController
-
- jmri.jmrix.roco.z21.Z21LnStreamPortController
-
- All Implemented Interfaces:
PortAdapter
public class Z21LnStreamPortController extends LnStreamPortController
Override default LocoNet classes to use z21 specific versions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrix.AbstractPortController
AbstractPortController.Option
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.loconet.streamport.LnStreamPortController
commandStationType, mInterrogateAtStart, mTurnoutExtraSpace, mTurnoutNoRetry
-
Fields inherited from class jmri.jmrix.AbstractStreamPortController
_name, input, output
-
Fields inherited from class jmri.jmrix.AbstractPortController
allowConnectionRecovery, manufacturerName, opened, option1Name, option2Name, option3Name, option4Name, options, reconnectinterval, reconnectMaxAttempts, reconnectMaxInterval
-
-
Constructor Summary
Constructors Constructor Description Z21LnStreamPortController(LocoNetSystemConnectionMemo connectionMemo, java.io.DataInputStream in, java.io.DataOutputStream out, java.lang.String pname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure()
Set up all of the other objects to operate with a LocoNet connected via this class.void
dispose()
Clean up before removal.-
Methods inherited from class jmri.jmrix.loconet.streamport.LnStreamPortController
getSystemConnectionMemo, okToSend, setCommandStationType, setInterrogateOnStart, setTurnoutHandling, status
-
Methods inherited from class jmri.jmrix.AbstractStreamPortController
connect, connect, getCurrentPortName, getInputStream, getOutputStream, recover
-
Methods inherited from class jmri.jmrix.AbstractPortController
closeConnection, configureOption1, 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, resetupConnection, safeSleep, setClosed, setDisabled, setManufacturer, setOpened, setOptionState, setReconnectMaxAttempts, setReconnectMaxInterval, setSystemConnectionMemo, setSystemPrefix, setUserName
-
-
-
-
Constructor Detail
-
Z21LnStreamPortController
public Z21LnStreamPortController(LocoNetSystemConnectionMemo connectionMemo, java.io.DataInputStream in, java.io.DataOutputStream out, java.lang.String pname)
-
-
Method Detail
-
configure
public void configure()
Set up all of the other objects to operate with a LocoNet connected via this class.- Specified by:
configure
in interfacePortAdapter
- Overrides:
configure
in classLnStreamPortController
-
dispose
public void dispose()
Description copied from class:AbstractPortController
Clean up before removal. Overriding methods must callsuper.dispose()
or document why they are not calling the overridden implementation. In most cases, failure to call the overridden implementation will cause user-visible error.- Specified by:
dispose
in interfacePortAdapter
- Overrides:
dispose
in classAbstractStreamPortController
-
-