public final class MessageEvent extends StanzaEvent<Message>
This class is immutable.
MessageListener,
Serialized Form| Constructor and Description |
|---|
MessageEvent(Object source,
Message message,
boolean inbound)
Constructs a message event.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
getMessage()
Gets the message.
|
getStanza, isInbound, isIncoming, toStringgetSourcepublic MessageEvent(Object source, Message message, boolean inbound)
source - The object on which the event initially occurred.message - The message stanza.inbound - True, if the stanza is inbound.IllegalArgumentException - if source is null.public final Message getMessage()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.