| SNMPTable of Contents
 The SNMP classIntroductionRepresents SNMP session. Class synopsisSNMP 
     
       class SNMP
     
     { /* Properties */ 
     public
     int
     $max_oids
    ; 
     public
     int
     $valueretrieval
    ; 
     public
     bool
     $quick_print
    ; 
     public
     bool
     $enum_print
    ; 
     public
     int
     $oid_output_format
    ; 
     public
     bool
     $oid_increasing_check
    ; 
     public
     int
     $exceptions_enabled
    ; 
     public
     array
     $info
    ; /* Methods */ 
   public  __construct
    ( int  $version, string$hostname, string$community[, int$timeout= 1000000
   [, int$retries= 5
  ]] )
   public bool close
    ( void
   ) 
   public mixed get
    ( mixed  $object_id[, bool$preserve_keys= false
  ] )
   public int getErrno
    ( void
   ) 
   public string getError
    ( void
   ) 
   public mixed getnext
    ( mixed  $object_id)
   public bool set
    ( mixed  $object_id, mixed$type, mixed$value)
   public bool setSecurity
    ( string  $sec_level[, string$auth_protocol= 
   [, string$auth_passphrase= 
   [, string$priv_protocol= 
   [, string$priv_passphrase= 
   [, string$contextName= 
   [, string$contextEngineID= 
  ]]]]]] )
   public array walk
    ( string  $object_id[, bool$suffix_as_key=FALSE[, int$max_repetitions[, int$non_repeaters]]] )/* Constants */ 
     const
     integer
     SNMP::ERRNO_NOERROR
      = 0
    ; 
     const
     integer
     SNMP::ERRNO_GENERIC
      = 2
    ; 
     const
     integer
     SNMP::ERRNO_TIMEOUT
      = 4
    ; 
     const
     integer
     SNMP::ERRNO_ERROR_IN_REPLY
      = 8
    ; 
     const
     integer
     SNMP::ERRNO_OID_NOT_INCREASING
      = 16
    ; 
     const
     integer
     SNMP::ERRNO_OID_PARSING_ERROR
      = 32
    ; 
     const
     integer
     SNMP::ERRNO_MULTIPLE_SET_QUERIES
      = 64
    ; 
     const
     integer
     SNMP::ERRNO_ANY
      = 126
    ; 
     const
     integer
     SNMP::VERSION_1
      = 0
    ; 
     const
     integer
     SNMP::VERSION_2C
      = 1
    ; 
     const
     integer
     SNMP::VERSION_2c
      = 1
    ; 
     const
     integer
     SNMP::VERSION_3
      = 3
    ;} Properties
 Predefined ConstantsSNMP Error Types
 SNMP Protocol Versions
 The SNMPException classIntroductionRepresents an error raised by SNMP. You should not throw a SNMPException from your own code. See Exceptions for more information about Exceptions in PHP. Class synopsisSNMPException 
     
       class SNMPException
     
 
     
      extends
       RuntimeException
     
 
     { /* Properties */ 
     protected
     string
     $code
    ; /* Inherited properties */ 
     protected
     string
     $message
    ; 
     protected
     int
     $code
    ; 
     protected
     string
     $file
    ; 
     protected
     int
     $line
    ; /* Inherited methods */ 
   final public string Exception::getMessage
    ( void
   ) 
   final public Throwable Exception::getPrevious
    ( void
   ) 
   final public mixed Exception::getCode
    ( void
   ) 
   final public string Exception::getFile
    ( void
   ) 
   final public int Exception::getLine
    ( void
   ) 
   final public array Exception::getTrace
    ( void
   ) 
   final public string Exception::getTraceAsString
    ( void
   ) 
   public string  Exception::__toString
    ( void
   ) 
   final private void Exception::__clone
    ( void
   )} Properties
 |