Package jmri.jmrix.bidib
Interface BiDiBPortController
- All Superinterfaces:
PortAdapter
- All Known Implementing Classes:
BiDiBNetworkPortController,BiDiBOverTcpAdapter,BiDiBSerialPortController,BiDiBSimulatorAdapter,NetBiDiBAdapter,SerialDriverAdapter
-
Method Summary
Modifier and TypeMethodDescriptionorg.bidib.jbidibc.messages.helpers.ContextGet the Bidib adapter contextGet the physical port name used with jbidibcvoidregisterAllListeners(org.bidib.jbidibc.messages.ConnectionListener connectionListener, Set<org.bidib.jbidibc.core.NodeListener> nodeListeners, Set<org.bidib.jbidibc.core.MessageListener> messageListeners, Set<org.bidib.jbidibc.core.node.listener.TransferListener> transferListeners) Register all Listeners to the specific BiDiB Object.Methods inherited from interface jmri.jmrix.PortAdapter
configure, configureOption1, configureOption2, configureOption3, configureOption4, connect, dispose, getCurrentPortName, getDisabled, getInputStream, getManufacturer, getOption1Name, getOption2Name, getOption3Name, getOption4Name, getOptionChoices, getOptionDisplayName, getOptions, getOptionState, getOutputStream, getReconnectMaxAttempts, getReconnectMaxInterval, getSystemConnectionMemo, getSystemPrefix, getUserName, isDirty, isOptionAdvanced, isOptionTypePassword, isOptionTypeText, isRestartRequired, recover, setDisabled, setManufacturer, setOptionState, setReconnectMaxAttempts, setReconnectMaxInterval, setSystemConnectionMemo, setSystemPrefix, setUserName, status
-
Method Details
-
getRealPortName
Get the physical port name used with jbidibc- Returns:
- physical port name
-
registerAllListeners
void registerAllListeners(org.bidib.jbidibc.messages.ConnectionListener connectionListener, Set<org.bidib.jbidibc.core.NodeListener> nodeListeners, Set<org.bidib.jbidibc.core.MessageListener> messageListeners, Set<org.bidib.jbidibc.core.node.listener.TransferListener> transferListeners) Register all Listeners to the specific BiDiB Object. We need this here since the BidibInterface does not provide this method.- Parameters:
connectionListener- register to thisnodeListeners- listeners to addmessageListeners- listeners to addtransferListeners- listeners to add
-
getContext
org.bidib.jbidibc.messages.helpers.Context getContext()Get the Bidib adapter context- Returns:
- Context
-