public final class Forwarded
extends java.lang.Object
The implementation of the <forwarded/>
element in the urn:xmpp:forward:0
namespace.
This class is immutable.
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.String NAMESPACE
urn:xmpp:forward:0
public Forwarded(Stanza stanza)
Creates a forwarded element.
stanza
- The stanza to forward.public Forwarded(Stanza stanza, DelayedDelivery delayedDelivery)
Creates a forwarded element.
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()
Gets the date, when the forwarding entity received the forwarded stanza.
public final Stanza getStanza()
Gets the forwarded stanza.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.