Interface ConnectionChangeListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ConnectionChangeListener
    Use this interface to subscribe to connection change events, such as when the underlying connector disconnects or reconnects with hardware.
    • Method Detail

      • connectionChange

        void connectionChange​(RemoteConnector connector,
                              AuthStatus authStatus)
        Called by the connector upon state change
        Parameters:
        connector - the connector who's state has changed
        authStatus - the current authentication status