public Collection<NodeAffiliate> getAllAffiliates() {
        getLogger().trace("Got {} affiliate(s)", affiliates.size());
        return affiliates;
    }
Returns all affiliates of the node.

@return All affiliates of the node.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java