public void deleteAllItems ( ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { PubSub request = createPubsubPacket ( Type . set , new NodeExtension ( PubSubElementType . PURGE_OWNER , getId ( ) ) ) ; pubSubManager . getConnection ( ) . createStanzaCollectorAndSend ( request ) . nextResultOrThrow ( ) ; }
Purges the node of all items .