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