handlePresMessage method
Process a packet if the packet type is pres
Implementation
void handlePresMessage(PresMessage? pres) {
if (pres == null) {
return;
}
onPresMessage.add(pres);
Topic? topic = pres.topic != null
? _cacheManager.get('topic', pres.topic ?? '')
: null;
if (topic != null) {
topic.routePres(pres);
}
}