public DiscoverInfo discoverInfo() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        DiscoverInfo info = new DiscoverInfo();
        info.setTo(pubSubManager.getServiceJid());
        info.setNode(getId());
        return pubSubManager.getConnection().createStanzaCollectorAndSend(info).nextResultOrThrow();
    }
public DiscoverInfo discoverInfo ( ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { DiscoverInfo info = new DiscoverInfo ( ) ; info . setTo ( pubSubManager . getServiceJid ( ) ) ; info . setNode ( getId ( ) ) ; return pubSubManager . getConnection ( ) . createStanzaCollectorAndSend ( info ) . nextResultOrThrow ( ) ; }
Discover node information in standard {@link DiscoverInfo} format.

@return The discovery information about the node.
@throws XMPPErrorException
@throws NoResponseException if there was no response from the server.
@throws NotConnectedException
@throws InterruptedException