Net::DBus::Service(3pm) User Contributed Perl Documentation Net::DBus::Service(3pm)NAME
Net::DBus::Service - Provide a service to the bus for clients to use
SYNOPSIS
package main;
use Net::DBus;
# Attach to the bus
my $bus = Net::DBus->find;
# Acquire a service 'org.demo.Hello'
my $service = $bus->export_service("org.demo.Hello");
# Export our object within the service
my $object = Demo::HelloWorld->new($service);
....rest of program...
DESCRIPTION
This module represents a service which is exported to the message bus. Once a service has been exported, it is possible to create and
export objects to the bus.
METHODS
my $service = Net::DBus::Service->new($bus, $name);
Create a new service, attaching to the bus provided in the $bus parameter, which should be an instance of the Net::DBus object. The
$name parameter is the qualified service name. It is not usually neccessary to use this constructor, since services can be created via
the "export_service" method on the Net::DBus object.
my $bus = $service->get_bus;
Retrieves the Net::DBus object to which this service is attached.
my $name = $service->get_service_name
Retrieves the qualified name by which this service is known on the bus.
AUTHOR
Daniel P. Berrange
COPYRIGHT
Copyright (C) 2005-2011 Daniel P. Berrange
SEE ALSO
Net::DBus, Net::DBus::Object, Net::DBus::RemoteService
perl v5.14.2 2011-06-30 Net::DBus::Service(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)
Hi there
I am running soalris 9 on a sun fire 480r and all of a sudden (today) whenever the users run the command `top` we get the following message `bus error`
does anybody have any information on what this is all about and whether there is a routine i can perform to gather more... (3 Replies)
Hi,
Is there a command I can use to find out how many CPU's and what type are on my server? (I was told to use cat /proc/cpuinfo)
Also, how do I know what kind of bus speeds are on my server?
Thanks in advance:) (3 Replies)
Hi all,
I am getting bus error problem in SunOS. Can you please help me out in this regard.
Actually, my entire code till the last line has been executed. But after tht i am getting a bus error. Please help me.
Thanks in advance.
Charu. (4 Replies)
Hello!
I need to upgrade my Service Guard 11.14 to 11.16, but I don't know how to do it. We have two HP9000 running on HPUX 11.11.
Where can i download the ServiceGuard 11.16?
Is there any manual or website where i can read the steps to follow?
Thanks in advance! (2 Replies)
Can anyone out there let me know what is the *common* Technology Level and Service Pack that everyone is at?
I am at
5300-06-04-0748 on all of my LPARs.
Also- does anyone have any guidelinies to rolling out new TL and Sps?
Thanks (4 Replies)
While entering to service mode on XSCF i getting following error
XSCF> service
Account is not enabled for service mode.
What could be the reason for this ? (5 Replies)
Hello to all,
What i would like to know is how to call a web service using perl.
Where can i find documentation that easy describes this procedure?
Any advices will be more tha welcome.
Thank you.
Best Regards,
Chriss_58 (3 Replies)
i want condition .
1. if "service = 100" or "service = 121" and "datetime=today"
MY CODE
if &];
then
echo "Transection LOG"
echo ""
echo "Detail LOG"
echo ""
exit;
fi
but when rub my script. I get error (2 Replies)
Today I have installed VSFTPD but service is failing to start.
We have been using standard FTP successful but need to introduce an FTPS option.
I have run YUM install VSFTPD and everything appeared to load ok.
(If I run rpm - qa | grep vsftpd I get vsftpd-2.0.5-16.el5_4.1 which I... (4 Replies)
Hi AllPlease send me source code for following if u have......... Write a code that to Demonize a Service (take any service of your choice) to be Invoked by Superserver. All replies are expected to be directed to the flat file (select any specific path you want). Thanks,Nisha Vaghela (2 Replies)
hey everyone,
I want to remove some characters from a string that i have with sed. For example if my string is:
a0=bus a1=car a2=truck
I want my output to look like this:
bus car truck
So i want to delete the two characters before the = and including the =. This is what i came up with... (3 Replies)
hi guys
I have a service that depends on some shares (NFS shares ) that need to be mounted before before the service start so the service-app finds the NFS shares and starts correctly...
I am confused here this is what I found but I am not sure what to do in order to change it
BTW is Suse... (2 Replies)
Dear All,
We were hit with a denial of service (DOS) attack today beginning around June 12th 2019 @ 01:27:51 PM from an IP address registered to "RACKWEB-NET" in Bulgaria.
I was notified about this around June 12th 2019 @ 03:05 PM and did some log file analysis and discovered how the attack... (4 Replies)