Package jmri.jmrix.bidib
Interface BiDiBPortController
-
- All Superinterfaces:
PortAdapter
- All Known Implementing Classes:
BiDiBNetworkPortController
,BiDiBOverTcpAdapter
,BiDiBSerialPortController
,BiDiBSimulatorAdapter
,SerialDriverAdapter
public interface BiDiBPortController extends PortAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.bidib.jbidibc.messages.helpers.Context
getContext()
Get the Bidib adapter contextjava.lang.String
getRealPortName()
Get the physical port name used with jbidibcvoid
registerAllListeners(org.bidib.jbidibc.messages.ConnectionListener connectionListener, java.util.Set<org.bidib.jbidibc.core.NodeListener> nodeListeners, java.util.Set<org.bidib.jbidibc.core.MessageListener> messageListeners, java.util.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 Detail
-
getRealPortName
java.lang.String getRealPortName()
Get the physical port name used with jbidibc- Returns:
- physical port name
-
registerAllListeners
void registerAllListeners(org.bidib.jbidibc.messages.ConnectionListener connectionListener, java.util.Set<org.bidib.jbidibc.core.NodeListener> nodeListeners, java.util.Set<org.bidib.jbidibc.core.MessageListener> messageListeners, java.util.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
-
-