Class Trunking


  • public class Trunking
    extends Object
    Configuration of Openfire's 'gateway' or 'trunking' functionality, which allows Openfire to act as a gateway to transfer data between other XMPP domains.
    Author:
    Guus der Kinderen, guus@goodbytes.nl
    See Also:
    Openfire documentation: Trunking Guide
    • Field Detail

      • ENABLED

        public static final SystemProperty<Boolean> ENABLED
        Enables or disables the trunking functionality that allows Openfire to act as a gateway to transfer data between other XMPP domains.
      • ALLOWABLE_DOMAINS

        public static final SystemProperty<List<String>> ALLOWABLE_DOMAINS
        A collection of XMPP domain names for which Openfire will provide trunking functionality. For each domain in this collection, Openfire will accept data from other domains, and forward that data to that domain.
    • Constructor Detail

      • Trunking

        public Trunking()
    • Method Detail

      • isTrunkingEnabledFor

        public static boolean isTrunkingEnabledFor​(@Nonnull
                                                   String domain)
        Verifies if trunking functionality is enabled, and if Openfire is configured to accept data to-be-trunked to a particular domain.
        Parameters:
        domain - The domain for which Openfire is to accept data
        Returns:
        true if Openfire is configured to trunk data for the provided domain.