public final class StreamManagement extends StreamFeature
The implementation of the <sm/>
element in the urn:xmpp:sm:3
namespace.
Modifier and Type | Class and Description |
---|---|
static class |
StreamManagement.Answer
The implementation of the
<a/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Enable
The implementation of the
<enable/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Enabled
The implementation of the
<enabled/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Failed
The implementation of the
<failed/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Request
The implementation of the
<r/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Resume
The implementation of the
<resume/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Resumed
The implementation of the
<resumed/> element in the urn:xmpp:sm:3 namespace. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
urn:xmpp:sm:3
|
static StreamManagement.Request |
REQUEST
The
<r/> element in the urn:xmpp:sm:3 namespace. |
Constructor and Description |
---|
StreamManagement() |
StreamManagement(java.lang.Boolean required) |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
|
boolean |
isMandatory()
Indicates, whether this feature is mandatory to negotiate.
|
java.lang.String |
toString() |
compareTo, requiresRestart
public static final StreamManagement.Request REQUEST
The <r/>
element in the urn:xmpp:sm:3
namespace.
public static final java.lang.String NAMESPACE
urn:xmpp:sm:3
public StreamManagement()
public StreamManagement(java.lang.Boolean required)
public final boolean isMandatory()
StreamFeature
Indicates, whether this feature is mandatory to negotiate. By default a feature is not mandatory. Override this method for mandatory-to-negotiate features.
isMandatory
in class StreamFeature
public final int getPriority()
StreamFeature
Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
getPriority
in class StreamFeature
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2019 XMPP.rocks. All rights reserved.