public final class IQEvent extends EventObject
This class is immutable.
| Constructor and Description |
|---|
IQEvent(Object source,
IQ iq,
boolean inbound)
Constructs an IQ event.
|
| Modifier and Type | Method and Description |
|---|---|
IQ |
getIQ()
Gets the IQ stanza.
|
boolean |
isInbound()
Indicates, whether the stanza has been received (inbound) or is about to being sent (outbound).
|
String |
toString() |
getSourcepublic IQEvent(Object source, IQ iq, boolean inbound)
source - The object on which the event initially occurred.iq - The IQ stanza.inbound - True, if the stanza is inbound.IllegalArgumentException - if source is null.public final IQ getIQ()
public final boolean isInbound()
public final String toString()
toString in class EventObjectCopyright © 2014–2015 XMPP.rocks. All rights reserved.