Package rocks.xmpp.core
Interface ExtensionProtocol
-
- All Known Subinterfaces:
ServiceDiscoveryManager
- All Known Implementing Classes:
AbstractEntityCapabilities1Protocol,AbstractEntityCapabilities2Protocol,AbstractEntityCapabilitiesProtocol,AbstractServiceDiscoveryManager,AbstractStreamManager,CryptographicHashFunctionsProtocol,ResultSetManagementProtocol
public interface ExtensionProtocolAn XMPP Extension Protocol.- See Also:
- XEP-0001: XMPP Extension Protocols
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNamespace()The protocol's main namespace.booleanisEnabled()Indicates whether this protocol is enabled.
-
-
-
Method Detail
-
getNamespace
String getNamespace()
The protocol's main namespace. This is used to uniquely identify the extension protocol.- Returns:
- The main namespace.
-
isEnabled
boolean isEnabled()
Indicates whether this protocol is enabled.- Returns:
- true, if enabled; false if disabled.
-
-