SNMP 2.0.0
|
Helper struct to handle generic PDU. More...
Classes | |
struct | Bulk |
Helper struct to handle GetBulkRequest PDU. More... | |
Public Member Functions | |
Generic () | |
Initializes to default values. | |
Public Attributes | ||
uint32_t | _requestID | |
union { | ||
Error _error | ||
Bulk _bulk | ||
}; | ||
Structures used by generic PDUs. | ||
Helper struct to handle generic PDU.
Defines all needed to create a generic PDU.
All PDUs are generic except Trap PDU.
Definition at line 27 of file SNMPMessage.h.
|
inline |
Initializes to default values.
Definition at line 45 of file SNMPMessage.h.
References _requestID.
union { ... } SNMP::PDU::Generic |
Bulk SNMP::PDU::Generic::_bulk |
Bulk struct for GetBulkRequest PDU.
Definition at line 68 of file SNMPMessage.h.
Referenced by SNMP::Message::build(), SNMP::Message::getMaxRepetition(), SNMP::Message::getNonRepeaters(), SNMP::Message::parse(), SNMP::Message::setMaxRepetitions(), and SNMP::Message::setNonRepeaters().
Error SNMP::PDU::Generic::_error |
Definition at line 66 of file SNMPMessage.h.
Referenced by SNMP::Message::build(), SNMP::Message::getErrorIndex(), SNMP::Message::getErrorStatus(), SNMP::Message::parse(), and SNMP::Message::setError().
uint32_t SNMP::PDU::Generic::_requestID |
Request identifier of a message. Response, if exists, must have the same request identifier.
Definition at line 54 of file SNMPMessage.h.
Referenced by SNMP::Message::build(), Generic(), SNMP::Message::getRequestID(), SNMP::Message::parse(), and SNMP::Message::setRequestID().