public NodeSubscription.State getState()
    {
        return state;
    }
Returns the state of the subscription.

@return subscription state
@see NodeSubscription#getState()
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/cluster/SubscriptionTask.java