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(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.
|
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–2019 XMPP.rocks. All rights reserved.