handleInfoMessage method

void handleInfoMessage(
  1. InfoMessage? info
)

Process a packet if the packet type is info

Implementation

void handleInfoMessage(InfoMessage? info) {
  if (info == null) {
    return;
  }

  Topic? topic = _cacheManager.get('topic', info.topic ?? '');
  if (topic != null) {
    topic.routeInfo(info);
  }
}