public abstract class ServerStreamFeatureNegotiator<T extends StreamFeature> extends java.lang.Object implements StreamFeatureNegotiator<T>
An abstract stream feature negotiator from a server perspective.
ServerStreamFeaturesManager| Modifier and Type | Method and Description |
|---|---|
abstract T |
createStreamFeature()
Creates a concrete stream feature for inclusion in the stream features element after sending the response stream header.
|
java.lang.Class<T> |
getFeatureClass()
Gets the feature class, this negotiator is responsible for.
|
abstract StreamNegotiationResult |
processNegotiation(java.lang.Object element)
Processes an element.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanProcesspublic abstract T createStreamFeature()
Creates a concrete stream feature for inclusion in the stream features element after sending the response stream header.
public abstract StreamNegotiationResult processNegotiation(java.lang.Object element)
Processes an element.
processNegotiation in interface StreamFeatureNegotiator<T extends StreamFeature>element - The element.public final java.lang.Class<T> getFeatureClass()
Gets the feature class, this negotiator is responsible for.
getFeatureClass in interface StreamFeatureNegotiator<T extends StreamFeature>Copyright © 2014–2019 XMPP.rocks. All rights reserved.