public final class StableUniqueStanzaIdManager extends Manager
Modifier and Type | Method and Description |
---|---|
void |
disable()
Stop appending origin-id elements to outgoing stanzas and remove the feature from disco.
|
void |
enable()
Start appending origin-id elements to outgoing stanzas and add the feature to disco.
|
static StableUniqueStanzaIdManager |
getInstanceFor(XMPPConnection connection)
Return an instance of the StableUniqueStanzaIdManager for the given connection.
|
boolean |
isEnabled()
Return true, if we automatically append origin-id elements to outgoing stanzas.
|
connection, getAuthenticatedConnectionOrThrow, schedule
public static final String NAMESPACE
public static StableUniqueStanzaIdManager getInstanceFor(XMPPConnection connection)
connection
- xmpp-connectionpublic void enable()
public void disable()
public boolean isEnabled()