Interface BiDiBPortController

    • 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 this
        nodeListeners - listeners to add
        messageListeners - listeners to add
        transferListeners - listeners to add
      • getContext

        org.bidib.jbidibc.messages.helpers.Context getContext()
        Get the Bidib adapter context
        Returns:
        Context