| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| Modifier and Type | Method and Description |
|---|---|
Message.Type |
Message.getType()
Gets the message type.
|
static Message.Type |
Message.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
Message.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Message.setType(Message.Type type)
Sets the message type.
|
| Constructor and Description |
|---|
Message(Jid to,
Message.Type type)
Constructs a message with a type.
|
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)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject,
java.lang.String thread)
Constructs a message with body and type.
|
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.
|
Copyright © 2014–2018 XMPP.rocks. All rights reserved.