Yate
|
Public Types | |
enum | PDUsType { GET_REQUEST, GET_NEXT_REQUEST, GET_BULK_REQUEST, RESPONSE, SET_REQUEST, INFORM_REQUEST, SNMPV2_TRAP, REPORT } |
Public Member Functions | |
PDUs (void *data, int len) | |
int | decode (DataBlock &data) |
int | encode (DataBlock &data) |
void | getParams (NamedList *params) |
void | setParams (NamedList *params) |
Public Attributes | |
int | m_choiceType |
GetRequest_PDU * | m_get_request |
GetNextRequest_PDU * | m_get_next_request |
GetBulkRequest_PDU * | m_get_bulk_request |
Response_PDU * | m_response |
SetRequest_PDU * | m_set_request |
InformRequest_PDU * | m_inform_request |
SNMPv2_Trap_PDU * | m_snmpV2_trap |
Report_PDU * | m_report |
Static Public Attributes | |
static const int | s_type = ASNLib::CHOICE |
Function to decode the parameters of this object from given data
data | DataBlock from which the object is decoded |
Implements AsnObject.
Function to encode this object into a datablock
data | The DataBlock in which the object should be encoded |
Implements AsnObject.
Function for obtaining this object's data
params | NamedList in which this object's data should be put |
Implements AsnObject.
Function for setting this object's data
params | NamedList containing the values to which this object's data should be set |
Implements AsnObject.