Package | Description |
---|---|
rocks.xmpp.core.stanza |
Provides classes for XML stanza management (message, presence, IQ).
|
rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
Modifier and Type | Method and Description |
---|---|
StanzaError |
StanzaException.getError()
Deprecated.
Gets the stanza error, i.e. the
<error/> element. |
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,
java.lang.Object extension,
java.lang.String id,
Jid from,
java.util.Locale language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to,
Message.Type type,
java.util.Collection<Text> bodies,
java.util.Collection<Text> subjects,
java.lang.String thread,
java.lang.String parentThread,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a message with all possible values.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject,
java.lang.String thread,
java.lang.String parentThread,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to,
Presence.Type type,
Presence.Show show,
java.util.Collection<Text> status,
java.lang.Byte priority,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.