Net::DB...::Signal(3)

🌸 Net::DB...::Signal(3) 🌸

okay so this is a User Contributed Perl Documentation page, and the module's government name is Net::DBus::Binding::Message::Signal β€” say that five times fast, i dare u πŸ’€


✨ NAME ✨

Net::DBus::Binding::Message::Signal β€” bestie, it's literally a message that encodes a signal 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

use Net::DBus::Binding::Message::Signal;

my $signal = Net::DBus::Binding::Message::Signal->new(
    object_path => "/org/example/myobject",
    interface => "org.example.myobject",
    signal_name => "foo_changed");

$connection->send($signal);

look at that. gorgeous. no notes. 🌈


πŸ’œ DESCRIPTION πŸ’œ

okay so real talk β€” this module is part of the low-level DBus binding APIs, and it should not be used by application code. like, not me gatekeeping but genuinely: this is not for you, bestie πŸ™ˆ

and no guarantees are made about APIs under the "Net::DBus::Binding::" namespace being stable across releases. so if you build on it and it breaks, that's a vibe check you failed, iykyk 😭

what it actually does? it provides a convenience constructor for creating a message representing a signal. that's the whole gig. iconic behavior honestly πŸ‘‘


πŸŽ€ METHODS πŸŽ€

my $signal = Net::DBus::Binding::Message::Signal->new( object_path => $path, interface => $interface, signal_name => $name);

creates a new message, representing a signal [to be] emitted by the object located under the path given by the "object_path" parameter πŸ“

the name of the signal is given by the "signal_name" parameter, and it's scoped to the interface given by the "interface" parameter. so like, three params, one gorgeous little message. slay πŸ’…


⭐ AUTHOR ⭐

Daniel P. Berrange. (shoutout to the main character who wrote this πŸ‘‘)


Copyright (C) 2004-2009 Daniel P. Berrange


πŸ”₯ SEE ALSO πŸ”₯

  • Net::DBus::Binding::Message β€” go read that one next, bestie, it's giving sibling energy πŸ’–

lowkey reminder: low-level binding, not app code. don't come for me, i'm just the messenger 🧚

mwah πŸ’‹ β€” sign-off brought to you by perl v5.42.0, dated 2019-12-17 Net::DB...::Signal(3) ✨ periodt ✨