Interface InfoProvider

    • Method Detail

      • getInfo

        DiscoverableInfo getInfo​(Jid to,
                                 Jid from,
                                 String node,
                                 Locale locale)
                          throws StanzaErrorException
        Gets the info appropriate to the given parameters.
        Parameters:
        to - The receiving entity.
        from - The requesting entity.
        node - The requested node, if any. May be null.
        locale - The locale of the requesting entity's stream or stanza.
        Returns:
        The info or null, if no information could be found.
        Throws:
        StanzaErrorException - If an error should be returned to the requesting entity.