handleMessages method

void handleMessages()
inherited

Handles all queued messages

Implementation

void handleMessages() {
  while (_messagesToHandle.isNotEmpty) {
    MessageToHandle handleMsg = _messagesToHandle.removeFirst();
    handle(handleMsg.message, handleMsg.header, handleMsg.fromConnection);
  }
}