if (packet.getArgs() != null
&& !packet.getArgs().isEmpty()) {
data = packet.getArgs().get(0);
}
Namespace namespace = namespacesHub.get(packet.getEndpoint());
namespace.onEvent(client, packet.getName(), data, ackRequest);
break;
}
case HEARTBEAT:
heartbeatHandler.onHeartbeat(client.getBaseClient());