public < T extends Item > List < T > getItems ( String subscriptionId ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { PubSub request = createPubsubPacket ( Type . get , new GetItemsRequest ( getId ( ) , subscriptionId ) ) ; return getItems ( request ) ; }
Get the current items stored in the node based on the subscription associated with the provided subscription id .