| 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.
|
void |
Stanza.setError(StanzaError stanzaError)
Deprecated.
Use constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.createError(StanzaError error) |
Message |
Message.createError(StanzaError error) |
IQ |
IQ.createError(StanzaError error) |
| Constructor and Description |
|---|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id,
Jid from,
String language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to,
AbstractMessage.Type type,
Collection<AbstractMessage.Body> bodies,
Collection<AbstractMessage.Subject> subjects,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to,
AbstractPresence.Type type,
AbstractPresence.Show show,
Collection<AbstractPresence.Status> status,
Byte priority,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.createError(StanzaError error) |
Message |
Message.createError(StanzaError error) |
IQ |
IQ.createError(StanzaError error) |
| Constructor and Description |
|---|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id,
Jid from,
String language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to,
AbstractMessage.Type type,
Collection<AbstractMessage.Body> bodies,
Collection<AbstractMessage.Subject> subjects,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<Object> extensions,
StanzaError error)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<Object> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to,
AbstractPresence.Type type,
AbstractPresence.Show show,
Collection<AbstractPresence.Status> status,
Byte priority,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.