A class for performing SNMP V2 queries

copyright | Copyright (c) 2013, Open Source Solutions Limited, Dublin, Ireland
author | Barry O'Donovan

### Methods

## Get the SNMP instance

    getSNMP() : \OSS_SNMP\SNMP

### Returns

`\OSS_SNMP\SNMP`Instance of the SNMP object

## Set the SNMP instance

    setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB

### Parameters

#### $snmp

`\OSS_SNMP\SNMP`

the SNMP instance

### Returns

`\OSS_SNMP\MIB`An instance of this class for fluent interfaces

## Get the SNMP engine time

    time() : int

> "The number of seconds since the value of the snmpEngineBoots object last changed. > When incrementing this objects value would cause it to exceed its maximum, snmpEngineBoots > is incremented as if a re-initialization had occurred, and this objects value consequently > reverts to zero."

see |

### Returns

`int`The SNMP engine time

### Properties

## Instance for the SNMP object

    $_snmp

### Default

`null`

### Constants

## OID_TIME

    OID_TIME = '.1.3.6.1.6.3.10.2.1.3.0'