Interface IMalcolmConnection.IMalcolmConnectionStateListener

Enclosing interface:
IMalcolmConnection
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 static interface IMalcolmConnection.IMalcolmConnectionStateListener
A listener to the state of the connection to the actual malcolm device, i.e. connected vs disconnected.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    connectionStateChanged(boolean connected)
    Called when the connection to the malcolm device connects or disconnects.
  • Method Details

    • connectionStateChanged

      void connectionStateChanged(boolean connected)
      Called when the connection to the malcolm device connects or disconnects.
      Parameters:
      connected - the new state of the connection, where true means the the malcolm device is connected, false means that it is disconnected