net::dbus::binding::message::signal(3pm) [debian man page]
Net::DBus::Binding::Message::Signal(3pm) User Contributed Perl Documentation Net::DBus::Binding::Message::Signal(3pm)NAME
Net::DBus::Binding::Message::Signal - a message encoding 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);
DESCRIPTION
This module is part of the low-level DBus binding APIs, and should not be used by application code. No guarentees are made about APIs under
the "Net::DBus::Binding::" namespace being stable across releases.
This module provides a convenience constructor for creating a message representing a signal.
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 is scoped to the interface given by the "interface" parameter.
AUTHOR
Daniel P. Berrange.
COPYRIGHT
Copyright (C) 2004-2009 Daniel P. Berrange
SEE ALSO
Net::DBus::Binding::Message
perl v5.14.2 2011-06-30 Net::DBus::Binding::Message::Signal(3pm)
Check Out this Related Man Page
Net::DBus::Binding::Bus(3pm) User Contributed Perl Documentation Net::DBus::Binding::Bus(3pm)NAME
Net::DBus::Binding::Bus - Handle to a well-known message bus instance
SYNOPSIS
use Net::DBus::Binding::Bus;
# Get a handle to the system bus
my $bus = Net::DBus::Binding::Bus->new(type => &Net::DBus::Binding::Bus::SYSTEM);
DESCRIPTION
This is a specialization of the Net::DBus::Binding::Connection module providing convenience constructor for connecting to one of the well-
known bus types. There is no reason to use this module directly, instead get a handle to the bus with the "session" or "system" methods in
Net::DBus.
METHODS
my $bus = Net::DBus::Binding::Bus->new(type => $type);
my $bus = Net::DBus::Binding::Bus->new(address => $addr);
Open a connection to a message bus, either a well known bus type specified using the "type" parameter, or an arbitrary bus specified
using the "address" parameter. If the "private" parameter is set to a true value, then a private connection to the bus is obtained.
The caller must explicitly disconnect this bus instance before releasing the last instance of the object.
$bus->request_name($service_name)
Send a request to the bus registering the well known name specified in the $service_name parameter. If another client already owns the
name, registration will be queued up, pending the exit of the other client.
my $name = $bus->get_unique_name
Returns the unique name by which this processes' connection to the bus is known. Unique names are never re-used for the entire lifetime
of the bus daemon.
$bus->add_match($rule)
Register a signal match rule with the bus controller, allowing matching broadcast signals to routed to this client.
$bus->remove_match($rule)
Unregister a signal match rule with the bus controller, preventing further broadcast signals being routed to this client
AUTHOR
Daniel P. Berrange
COPYRIGHT
Copyright (C) 2004-2011 Daniel P. Berrange
SEE ALSO
Net::DBus::Binding::Connection, Net::DBus
perl v5.14.2 2011-06-30 Net::DBus::Binding::Bus(3pm)
Looking for a document that indicates the signal values and what they mean. Found this of AIX under /usr/include/sys/signal.h only Sun sol did not find same type of information. (3 Replies)
Hi,
when I execute a script on unix AIX, I've got an error message:
"Execution: 85328 Signal d'alarme".
If I edit this file with "vi", I ve got the same error after a while (about 1 minute).
If I try with another user I still have the problem.
But if I rename this file, no problem.
My... (5 Replies)
Hiiii..... Every one......
I am using /etc/issue file to display Pre-login Message
on my system, installed with SOLARIS-9.
I am getting this Message in White fonts having Black
background ( Colour of the Screen).....
So, is there ... (2 Replies)
Hi guys,
this is my first posting, so at first hi to everyone! ;)
I have a problem with ucontext_t in connection with signal handling. I want to simulate a preemptive scheduler. I am using the iTimer with ITIMER_PROF, to schedule the interrupts. You find the code below:
#include <stdio.h>... (18 Replies)
I have a problem with signal handlers not working.
I have a long 1000 line code and somehow this code for signal handling is not working:
$SIG{INT} = \&interrupt;
sub interrupt {
print STDERR "Caught a control c!\n";
exit; # or just about anything else you'd want to do
}
Any... (2 Replies)
I was working on some Perl code that does signal handling and I came across this one liner and wasn't sure what it was doing.
local $SIG{__DIE__} = sub {$! = 2; die $_;};
I think the first part of the anonymous subroutine is setting $! to 2, but I am not sure what the second part is doing. ... (1 Reply)
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
client:Knock Knock
server:who's there
client: Eric
Server:Eric,Welcome.
client:exit
all process terminated
... (1 Reply)