registerForMessage abstract method
Register the specified callback to receive messages of a specific type. The type of message that the callback should be sent The callback function that will accept the message type
Implementation
void registerForMessage(
MqttMessageType msgType, MessageCallbackFunction msgProcessorCallback);