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.
A listener to the state of the connection to the actual malcolm device, i.e.
connected vs disconnected.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionStateChanged(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, wheretruemeans the the malcolm device is connected,falsemeans that it is disconnected
-