AnyEven...:Delayed(3)
π AnyEvent::XMPP::IM::Delayed π
okay so this is the <pink>AnyEven...:Delayed(3)</pink> page, from the User Contributed Perl Documentation crew, and itβs all about the module AnyEvent::XMPP::IM::Delayed. The vibe? A delayed "XML" stanza. No cap, thatβs the whole name-section energy. π¦
β¨ NAME β¨
AnyEvent::XMPP::IM::Delayed β a delayed "XML" stanza. Thatβs it, thatβs the name, and it ate. π
π SYNOPSIS π
The original synopsis is blank, bestie. Nothing listed here β itβs giving mystery, lowkey. πΈ
π DESCRIPTION π
This module handles the delayed fields of stanzas. Itβs also a superclass of AnyEvent::XMPP::IM::Message and AnyEvent::XMPP::IM::Presence, so likeβ¦ itβs the parent-energy icon for those two. π
π METHODS π
new
The constructor takes no arguments and makes just a new object of this class. No extra params, no drama, just object creation. β¨
xml_node ()
Returns the AnyEvent::XMPP::Node object for this stream error. Yep, stream error β thatβs what the page says, and weβre respecting the lore. π«Ά
fetch_delay_from_node ($node)
$node must be an AnyEvent::XMPP::Node. This method will try to fetch the delay information from the $node. It will look in the lists of child nodes for the delay elements and set its values from there. Detective mode: activated. π΅οΈββοΈ
delay_from
This method returns either the original source of a maybe delayed stanza. Itβs the JID of the original entity that sent the stanza.
This method returns undef if this stanza was not delayed.
And this method returns undef if this stanza had no details about who sent the message in the first place.
To find out whether this stanza was delayed, use the delay_stamp method. (Yes, thatβs the method it points you to β weβre not arguing with the original, bestie.) π
delay_stamp
This method returns the timestamp in XMPP format which can be fed to the from_xmpp_datetime function documented in AnyEvent::XMPP::Util.
please note that this might be a newstyle XEP-0087 timestamp or old style legacy timestamp β both possibilities are real, so donβt come for me. π
If the stanza was not delayed this method returns undef.
delay_reason
This method might return a human readable string containing the reason why the stanza was delayed.
Will be undef if stanza contained no delay.
is_delayed
If this method returns a true value then this stanza was delayed. Otherwise it returns undef. Simple vibe check, but make it stanza status. β
π AUTHOR π
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>". Iconic contact info, fr fr. π
π COPYRIGHT & LICENSE π
Copyright 2007, 2008 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay thatβs the whole manual page, bestie β source/version <pink>perl v5.42.2</pink>, dated <pink>2026-02-15</pink>, from manual <pink>AnyEven...:Delayed(3)</pink>. Byeee, go delay some stanzas responsibly! π«Άπ
π¦ where this page comes from
- alpine 3.24: perl-anyevent-xmpp-doc 0.55-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms