Net::DBus::Introspector - handling of object introspection data
# Create an object populating with info from an # XML doc containing introspection data. my $ins = Net::DBus::Binding::Introspector->new(xml => $data); # Create an object, defining introspection data # programmatically my $ins = Net::DBus::Binding::Introspector->new(object_path => $object->get_object_path); $ins->add_method("DoSomething", ["string"], [], "org.example.MyObject"); $ins->add_method("TestSomething", ["int32"], [], "org.example.MyObject");
This class is responsible for managing introspection data, and answering questions about it. This is not intended for use by application developers, whom should instead consult the higher level API in Net::DBus::Exporter
Net::DBus::Exporter, Net::DBus::Binding::Message
Daniel Berrange <dan@berrange.com>
Copyright 2004 by Daniel Berrange
To install Net::DBus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DBus
CPAN shell
perl -MCPAN -e shell install Net::DBus
For more information on module installation, please visit the detailed CPAN module installation guide.