Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::dbus::service(3pm) [debian man page]

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)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

bus error on solaris

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)
Discussion started by: hcclnoodles
3 Replies

2. UNIX for Dummies Questions & Answers

bus speed and CPU info

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)
Discussion started by: ihot
3 Replies

3. UNIX for Dummies Questions & Answers

bus error (coredump)

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)
Discussion started by: charu
4 Replies

4. AIX

How to stop perl service

how to stop perl service on AIX? how to find if per service runing? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

5. HP-UX

Service Guard 11.16 in HPUX 11.11?

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)
Discussion started by: faca317
2 Replies

6. AIX

AIX Service Packs

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)
Discussion started by: seacros
4 Replies

7. Solaris

Service Mode on XSCF

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)
Discussion started by: fugitive
5 Replies

8. Shell Programming and Scripting

How to call a web service using perl

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)
Discussion started by: chriss_58
3 Replies

9. Shell Programming and Scripting

Please Help me. if command

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)
Discussion started by: ooilinlove
2 Replies

10. Red Hat

VSFTPD Service Failed to Start

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)
Discussion started by: PaulComins
4 Replies

11. UNIX and Linux Applications

Linux program

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)
Discussion started by: nisha_vaghela
2 Replies

12. Shell Programming and Scripting

help with sed one liner

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)
Discussion started by: GmGeubt
3 Replies

13. UNIX for Dummies Questions & Answers

change service order

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)
Discussion started by: karlochacon
2 Replies

14. What is on Your Mind?

Denial Of Service Attack Update

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)
Discussion started by: Neo
4 Replies