| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| Modifier and Type | Method and Description |
|---|---|
StanzaError |
Stanza.getError()
Gets the stanza's 'error' element.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Stanza |
Stanza.createError(StanzaError error)
Creates an error response for this stanza.
|
Presence |
Presence.createError(StanzaError error) |
Message |
Message.createError(StanzaError error) |
IQ |
IQ.createError(StanzaError error) |
void |
Stanza.setError(StanzaError stanzaError)
Sets the stanza's 'error' element.
|
| Constructor and Description |
|---|
IQ(Jid to,
IQ.Type type,
Object extension,
String id,
Jid from,
Locale language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to,
Message.Type type,
Collection<Text> bodies,
Collection<Text> subjects,
String thread,
String parentThread,
String id,
Jid from,
Locale language,
Collection<?> extensions,
StanzaError error)
Constructs a message with all possible values.
|
Message(Jid to,
Message.Type type,
String body,
String subject,
String thread,
String parentThread,
String id,
Jid from,
Locale language,
Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to,
Presence.Type type,
Presence.Show show,
Collection<Text> status,
Byte priority,
String id,
Jid from,
Locale language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Copyright © 2014–2018 XMPP.rocks. All rights reserved.