| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| rocks.xmpp.extensions.pubsub.model |
Provides XML schema implementations and configuration classes for XEP-0060: Publish-Subscribe.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Message.Type |
NodeConfiguration.getNotificationType()
Specifies the delivery style for notifications.
|
| Modifier and Type | Method and Description |
|---|---|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notificationType(Message.Type notificationType)
Specify the delivery style for notifications.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.