messageAvailable method

  1. @protected
void messageAvailable (
  1. MessageAvailable event
)
@protected

Handles the Message Available event of the connection control for handling non connection messages.

Implementation

@protected
void messageAvailable(MessageAvailable event) {
  final callback = messageProcessorRegistry[event.message.header.messageType];
  callback(event.message);
}