public enum StreamNegotiationResult extends java.lang.Enum<StreamNegotiationResult>
Represents the status of the feature negotiation.
Enum Constant and Description |
---|
IGNORE
The feature will be ignored.
|
INCOMPLETE
The feature negotiation is incomplete, i.e. it has only been partially negotiated.
|
RESTART
The feature has been successfully negotiated and the stream now requires a restart.
|
SUCCESS
The feature has been successfully negotiated.
|
Modifier and Type | Method and Description |
---|---|
static StreamNegotiationResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamNegotiationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamNegotiationResult SUCCESS
public static final StreamNegotiationResult RESTART
public static final StreamNegotiationResult INCOMPLETE
public static final StreamNegotiationResult IGNORE
public static StreamNegotiationResult[] values()
for (StreamNegotiationResult c : StreamNegotiationResult.values()) System.out.println(c);
public static StreamNegotiationResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.