public final class Forwarded extends Object
<forwarded/> element in the urn:xmpp:forward:0 namespace.
This class is immutable.
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE
urn:xmpp:forward:0
|
| Constructor and Description |
|---|
Forwarded(Stanza stanza)
Creates a forwarded element.
|
Forwarded(Stanza stanza,
DelayedDelivery delayedDelivery)
Creates a forwarded element.
|
| Modifier and Type | Method and Description |
|---|---|
DelayedDelivery |
getDelayedDelivery()
Gets the date, when the forwarding entity received the forwarded stanza.
|
Stanza |
getStanza()
Gets the forwarded stanza.
|
public static final String NAMESPACE
public Forwarded(Stanza stanza)
stanza - The stanza to forward.public Forwarded(Stanza stanza, DelayedDelivery delayedDelivery)
delayedDelivery - The delayed delivery, which indicates, when the forwarded stanza was originally received by the forwarder.stanza - The stanza to forward.public final DelayedDelivery getDelayedDelivery()
public final Stanza getStanza()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.