Interface Module

    • Field Detail

      • EMPTY_FEATURES

        static final java.lang.String[] EMPTY_FEATURES
    • Method Detail

      • getFeatures

        default java.lang.String[] getFeatures()
        Returns XMPP features offered by module. Features will be returned by Service Discovery.
        Returns:
        array of features or null.
      • getModuleCriteria

        Criteria getModuleCriteria()
        Returns critera used by Component to select module to handle incoming stanza.
        Returns:
        criteria of selecting module.
      • canHandle

        default boolean canHandle​(Packet packet)
        Returns true if Packet can be procesed by module. Default implementation uses Criteria.