Class ComponentMessage
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.Stanza
-
- rocks.xmpp.core.stanza.model.ExtensibleStanza
-
- rocks.xmpp.core.stanza.model.Message
-
- rocks.xmpp.extensions.component.accept.model.ComponentMessage
-
- All Implemented Interfaces:
LanguageElement
,StreamElement
public final class ComponentMessage extends Message
The implementation of the<message/>
element in thejabber:component:accept
namespace.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class rocks.xmpp.core.stanza.model.Message
Message.Type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentMessage
from(Message m)
Creates a message for thejabber:client
namespace from a generic message.-
Methods inherited from class rocks.xmpp.core.stanza.model.Message
createError, createError, getBodies, getBody, getParentThread, getSubject, getSubjects, getThread, getType, isNormal, setBody, setParentThread, setSubject, setThread, setType, toString
-
Methods inherited from class rocks.xmpp.core.stanza.model.ExtensibleStanza
addExtension, addExtensions, addExtensions, getExtensions, getExtensions, putExtension, removeExtension
-
Methods inherited from class rocks.xmpp.core.stanza.model.Stanza
getError, getExtension, getFrom, getId, getLanguage, getTo, hasExtension, isToItselfOrServer, setError, setFrom, setId, setLanguage, setTo
-
-
-
-
Method Detail
-
from
public static ComponentMessage from(Message m)
Creates a message for thejabber:client
namespace from a generic message.- Parameters:
m
- The message.- Returns:
- The client message.
-
-