Go to the source code of this file.
#define AGENTPP_DECL_TEMPL_ARRAY_MIBENTRY |
The Request class represents SNMP requests.
A Request contains a PDU, a from address (UDP), an unique transaction id, a community string, the SNMP version, and two arrays that hold for each variable binding of the PDU flags which determine whether the variable binding has been processed or not, and if it is ready or not (used by MibEntry::prepare_set_request). For SNMPv3 a Request contains two additional attributes, that are the viewName that applies for the request and a pointer the corresponding Vacm.
SET requests are processed through four phases: PHASE_PREPARE(p), PHASE_COMMIT(c), PHASE_UNDO(u), and PHASE_CLEANUP(f). There are three possible sequences that may be followed for a particular SET transaction:
- (p), (c), (f)
- (p), (c), (u)
- (p), (f)
- Author
- Frank Fock
- Version
- 3.5.23
#define DEFAULT_READ_COMMUNITY "public" |
#define DEFAULT_WRITE_COMMUNITY "public" |