initialiseListeners method

void initialiseListeners()

Initialise the event listeners;

Implementation

void initialiseListeners() {
  clientEventBus!.on<AutoReconnect>().listen(autoReconnect);
  clientEventBus!.on<MessageAvailable>().listen(messageAvailable);
  clientEventBus!.on<ConnectAckMessageAvailable>().listen(connectAckReceived);
}