FusionInventory::Agent::Network man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

FusionInventory::AgentUsertContributed Perl FusionInventory::Agent::Network(3)

NAME
       FusionInventory::Agent::Network - the Network abstraction layer

DESCRIPTION
       This module is the abstraction layer for network interaction. It uses
       LWP.

       new()
	   The constructor. These keys are expected: config, logger, target.

		   my $network = FusionInventory::Agent::Network->new ({

			   logger => $logger,
			   config => $config,
			   target => $target,

		       });

       send()
	   Send an instance of FusionInventory::Agent::XML::Query::* to the
	   target (the server).

       getStore()
	   Acts like LWP::Simple::getstore.

		   my $rc = $network->getStore({
			   source => 'http://www.FusionInventory.org/',
			   target => '/tmp/fusioinventory.html'
			   noProxy => 0
		       });

	   $rc, can be read by isSuccess()

       get()
		   my $content = $network->get({
			   source => 'http://www.FusionInventory.org/',
			   timeout => 15,
			   noProxy => 0
		       });

	   Act like LWP::Simple::get, return the HTTP content of the URL in
	   'source'.  The timeout is optional

       isSuccess()
	   Wrapper for LWP::is_success;

		   die unless $network->isSuccess({ code => $rc });

perl v5.14.2			  2012-02-22FusionInventory::Agent::Network(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net