| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| rocks.xmpp.core.stanza.model.client | |
| rocks.xmpp.core.stanza.model.server |
| 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.
|
protected void |
Stanza.createError(Stanza stanza,
StanzaError error)
Swaps the 'from' and 'to' addresses from the generated stanza and adds a 'by' attribute to the error.
|
void |
Stanza.setError(StanzaError stanzaError)
Sets the stanza's 'error' element.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.createError(StanzaError error) |
Message |
Message.createError(StanzaError error) |
IQ |
IQ.createError(StanzaError error) |
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.createError(StanzaError error) |
Message |
Message.createError(StanzaError error) |
IQ |
IQ.createError(StanzaError error) |
Copyright © 2014 XMPP.rocks. All rights reserved.