Collection<NodeSubscription> getSubscriptions() {
        getLogger().trace("Got {} subscription(s)", subscriptionsByID.size());
        return subscriptionsByID.values();
    }
Returns all subscriptions to the node.

@return all subscriptions to the node.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java