Package org.jivesoftware.openfire.net
Class Trunking
- java.lang.Object
-
- org.jivesoftware.openfire.net.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 Summary
Fields Modifier and Type Field Description static SystemProperty<List<String>>
ALLOWABLE_DOMAINS
A collection of XMPP domain names for which Openfire will provide trunking functionality.static SystemProperty<Boolean>
ENABLED
Enables or disables the trunking functionality that allows Openfire to act as a gateway to transfer data between other XMPP domains.
-
Constructor Summary
Constructors Constructor Description Trunking()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isTrunkingEnabledFor(String domain)
Verifies if trunking functionality is enabled, and if Openfire is configured to accept data to-be-trunked to a particular domain.
-
-
-
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.
-
-
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.
-
-