[libnet-dbus-perl] 265/335: Document passing of parent object into Net::DBus::Object constructor

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:08:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 9e3cb061ef0bac90740deb4c7b19ab7c7e5426fb
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Sat Feb 16 14:34:09 2008 -0500

    Document passing of parent object into Net::DBus::Object constructor
---
 lib/Net/DBus/Object.pm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/Net/DBus/Object.pm b/lib/Net/DBus/Object.pm
index 0691aec..4e98c7c 100644
--- a/lib/Net/DBus/Object.pm
+++ b/lib/Net/DBus/Object.pm
@@ -143,6 +143,14 @@ parameter should be an instance of L<Net::DBus::Service>.
 The latter is typically obtained by calling the C<export_service>
 method on the L<Net::DBus> object.
 
+=item my $object = Net::DBus::Object->new($parentobj, $subpath)
+
+This creates a new DBus child object with an path of C<$subpath>
+relative to its parent C<$parentobj>. The C<$subpath>
+parameter should be a string complying with the usual
+DBus requirements for object paths, while the C<$parentobj>
+parameter should be an instance of L<Net::DBus::Object>.
+
 =cut
 
 sub new {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git



More information about the Pkg-perl-cvs-commits mailing list