Interface Module

    • Field Detail


        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.
        array of features or null.
      • getModuleCriteria

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

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