| 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(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,
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)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
String body,
String subject)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
String body,
String subject,
String thread)
Constructs a message with body and type.
|
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.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.