protected void broadcastNodeEvent(Message message, boolean includeAll) {
        Collection<JID> jids = new ArrayList<>();
        for (NodeSubscription subscription : subscriptionsByID.values()) {
            if (includeAll || subscription.canSendNodeEvents()) {
                jids.add(subscription.getJID());
            }
        }
        getLogger().trace("Broadcasting message with node event to {} subscriber(s).", jids.size());
        getService().broadcast(this, message, jids);
    }
Broadcasts a node event to subscribers of the node.

@param message the message containing the node event.
@param includeAll true if all subscribers will be notified no matter their
       subscriptions status or configuration.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java