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
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, mTurnoutNoRetryFields inherited from class jmri.jmrix.AbstractStreamPortController
_name, input, outputFields inherited from class jmri.jmrix.AbstractPortController
allowConnectionRecovery, manufacturerName, opened, option1Name, option2Name, option3Name, option4Name, options, reconnectinterval, reconnectMaxAttempts, reconnectMaxInterval -
Constructor Summary
ConstructorsConstructorDescriptionZ21LnStreamPortController(LocoNetSystemConnectionMemo connectionMemo, DataInputStream in, DataOutputStream out, String pname) -
Method Summary
Methods inherited from class jmri.jmrix.loconet.streamport.LnStreamPortController
getSystemConnectionMemo, okToSend, setCommandStationType, setInterrogateOnStart, setTurnoutHandling, statusMethods inherited from class jmri.jmrix.AbstractStreamPortController
connect, connect, getCurrentPortName, getInputStream, getOutputStream, recoverMethods 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 Details
-
Z21LnStreamPortController
public Z21LnStreamPortController(LocoNetSystemConnectionMemo connectionMemo, DataInputStream in, DataOutputStream out, String pname)
-
-
Method Details
-
configure
Set up all of the other objects to operate with a LocoNet connected via this class.- Specified by:
configurein interfacePortAdapter- Overrides:
configurein classLnStreamPortController
-
dispose
Description copied from class:AbstractPortControllerClean 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:
disposein interfacePortAdapter- Overrides:
disposein classAbstractStreamPortController
-