code: public DiscoverItems discoverCommands(Jid jid) throws XMPPException, SmackException, InterruptedException {
          return serviceDiscoveryManager.discoverItems(jid, NAMESPACE);
      }
docs: Discover the commands of an specific JID. The <code>jid</code> is a
  full JID.
  
  @param jid the full JID to retrieve the commands for.
  @return the discovered items.
  @throws XMPPException if the operation failed for some reason.
  @throws SmackException if there was no response from the server.
  @throws InterruptedException