136 lines
3.0 KiB
HTML
136 lines
3.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Net::DBus::Dumper</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Net::DBus::Dumper</H1>
|
|
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2019-12-26<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Net::DBus::Dumper - Stringify Net::DBus objects suitable for printing
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
use Net::DBus::Dumper;
|
|
|
|
use Net::DBus;
|
|
|
|
# Dump out info about the bus
|
|
my $bus = Net::DBus->find;
|
|
print dbus_dump($bus);
|
|
|
|
# Dump out info about a service
|
|
my $service = $bus->get_service("org.freedesktop.DBus");
|
|
print dbus_dump($service);
|
|
|
|
# Dump out info about an object
|
|
my $object = $service->get_object("/org/freedesktop/DBus");
|
|
print dbus_dump($object);
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
This module serves as a debugging aid, providing a means to stringify
|
|
a DBus related object in a form suitable for printing out. It can
|
|
stringify any of the Net::DBus:* objects, generating the following
|
|
information for each
|
|
<DL COMPACT>
|
|
<DT id="1">Net::DBus<DD>
|
|
|
|
|
|
A list of services registered with the bus
|
|
<DT id="2">Net::DBus::Service =item Net::DBus::RemoteService<DD>
|
|
|
|
|
|
The service name
|
|
<DT id="3">Net::DBus::Object =item Net::DBus::RemoteObject<DD>
|
|
|
|
|
|
The list of all exported methods, and signals, along with their
|
|
parameter and return types.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>METHODS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="4">my @data = dbus_dump($object);<DD>
|
|
|
|
|
|
|
|
|
|
Generates a stringified representation of an object. The object
|
|
passed in as the parameter must be an instance of one of Net::DBus,
|
|
Net::DBus::RemoteService, Net::DBus::Service,
|
|
Net::DBus::RemoteObject, Net::DBus::Object. The stringified
|
|
representation will be returned as a list of strings, with newlines
|
|
in appropriate places, such that it can be passed string to the <TT>"print"</TT>
|
|
method.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
|
|
|
|
It should print out a list of object paths registered against a
|
|
service, but this only currently works for service implemented
|
|
in Perl
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
|
|
|
|
Daniel P. Berrange
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
|
|
|
|
Copyright (C) 2005-2011 Daniel P. Berrange
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
Net::DBus, Net::DBus::RemoteService, Net::DBus::Service,
|
|
Net::DBus::RemoteObject, Net::DBus::Object, Data::Dumper.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">METHODS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">BUGS</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
<DT id="11"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
<DT id="12"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:49 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|