Class Forwarded

    • Constructor Detail

      • Forwarded

        public Forwarded​(Stanza stanza)
        Creates a forwarded element.
        Parameters:
        stanza - The stanza to forward.
      • Forwarded

        public Forwarded​(Stanza stanza,
                         DelayedDelivery delayedDelivery)
        Creates a forwarded element.
        Parameters:
        delayedDelivery - The delayed delivery, which indicates, when the forwarded stanza was originally received by the forwarder.
        stanza - The stanza to forward.
    • Method Detail

      • getDelayedDelivery

        public final DelayedDelivery getDelayedDelivery()
        Gets the date, when the forwarding entity received the forwarded stanza.
        Returns:
        The delay.
      • getStanza

        public final Stanza getStanza()
        Gets the forwarded stanza.
        Returns:
        The forwarded stanza.