Package com.thecoderscorner.menu.remote
Interface RemoteConnectorListener
-
- 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 RemoteConnectorListenerThis is the low level, communication listener interface that you implement in order to know when commands have been received from the remote device. Normally, this is used by the RemoteMenuController and not something a user would directly subscribe to (unless you are adding custom messages to the protocol).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCommand(RemoteConnector connector, MenuCommand command)Sent by the connector when a message has been decoded.
-
-
-
Method Detail
-
onCommand
void onCommand(RemoteConnector connector, MenuCommand command)
Sent by the connector when a message has been decoded.- Parameters:
connector- the connector that sent the messagecommand- the command it decoded.
-
-