public static enum InBandByteStream.Open.StanzaType extends java.lang.Enum<InBandByteStream.Open.StanzaType>
The stanza type to be used for IBB.
Enum Constant and Description |
---|
IQ
IQ stanzas are used (default)
|
MESSAGE
Message stanzas are used.
|
Modifier and Type | Method and Description |
---|---|
static InBandByteStream.Open.StanzaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InBandByteStream.Open.StanzaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InBandByteStream.Open.StanzaType IQ
public static final InBandByteStream.Open.StanzaType MESSAGE
public static InBandByteStream.Open.StanzaType[] values()
for (InBandByteStream.Open.StanzaType c : InBandByteStream.Open.StanzaType.values()) System.out.println(c);
public static InBandByteStream.Open.StanzaType 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.