Net::DBus::Service Methods
Jump to navigation
Jump to search
AN!Tools :: Net::DBus Binding Tutorial :: Net::DBus::Service Methods |
my $bus=Net::DBus->find;
my $name="org.tle-bu.demo";
new
Usage:
my $service=Net::DBus::Service->new($bus, $name);
This creates a service called '$name' on the message '$bus'.
Note: This is not normally needed, as the service is created automatically by 'export_service'.
get_bus
Usage:
my $bus=$service->get_bus;
This returns the name of the message bus that the given '$service' is attached to.
get_name
Usage:
my $name=$service->get_name;
This returns the name of the service associated with the '$service' object.
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |