| Package | Description |
|---|---|
| org.xmpp.packet |
| Modifier and Type | Method and Description |
|---|---|
static PacketError.Condition |
PacketError.Condition.fromLegacyCode(int code) |
static PacketError.Condition |
PacketError.Condition.fromXMPP(String condition)
Converts a String value into its Condition representation.
|
PacketError.Condition |
PacketError.getCondition()
Returns the error condition.
|
static PacketError.Condition |
PacketError.Condition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketError.Condition[] |
PacketError.Condition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PacketError.setCondition(PacketError.Condition condition)
Sets the error condition.
|
void |
Packet.setError(PacketError.Condition condition)
Sets the packet error using the specified condition.
|
| Constructor and Description |
|---|
PacketError(PacketError.Condition condition)
Construcs a new PacketError with the specified condition.
|
PacketError(PacketError.Condition condition,
PacketError.Type type)
Constructs a new PacketError with the specified condition and type.
|
PacketError(PacketError.Condition condition,
PacketError.Type type,
String text)
Constructs a new PacketError.
|
PacketError(PacketError.Condition condition,
PacketError.Type type,
String text,
String lang)
Constructs a new PacketError.
|
Copyright © 2009–2017 Ignite Realtime. All rights reserved.