GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IO::LAMBDA::SNMP (3)

.ds Aq ’

NAME

IO::Lambda::SNMP - snmp requests lambda style

CONTENTS

DESCRIPTION

The module exports a set of conditions: snmpget, snmpfget, snmpgetnext, snmpfgetnext, snmpset, and snmpbulkwalk, that behave like the corresponding SNMP:: non-blocking counterpart functions. See SNMP for descriptions of their parameters and results.

SYNOPSIS



   use strict;
   use SNMP;
   use IO::Lambda::SNMP qw(:all);
   use IO::Lambda qw(:all);
  
   my $sess = SNMP::Session-> new(
      DestHost => localhost,
      Community => public,
      Version   => 2c,
   );
  
   this lambda {
      context $sess, new SNMP::Varbind;
      snmpgetnext {
         my $vb = shift;
         print @{$vb->[0]}, "\n" ;
         context $sess, $vb;
         again unless $sess-> {ErrorNum};
      }
   };
   this-> wait;



SEE ALSO

IO::Lambda, SNMP.

AUTHOR

Dmitry Karasik, <dmitry@karasik.eu.org>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IO::LAMBDA::SNMP (3) 2012-03-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.