# class PDU |
Full name | `Snmp::PDU`
Definition | `#include <libs/ysnmp/yatesnmp.h>`
Inherits | AsnObject (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- PDU ()
- PDU (void* data, int len)
- ~PDU ()
- int decode (DataBlock& data)
- int encode (DataBlock& data)
- void getParams (NamedList* params)
- void setParams (NamedList* params)

#### Public Members

- static const int s_type
- int32_t m_request_id
- static const int32_t s_request_idMinSize
- static const int32_t s_request_idMaxSize
- int32_t m_error_status
- static const int32_t s_noError_error_status
- static const int32_t s_tooBig_error_status
- static const int32_t s_noSuchName_error_status
- static const int32_t s_badValue_error_status
- static const int32_t s_readOnly_error_status
- static const int32_t s_genErr_error_status
- static const int32_t s_noAccess_error_status
- static const int32_t s_wrongType_error_status
- static const int32_t s_wrongLength_error_status
- static const int32_t s_wrongEncoding_error_status
- static const int32_t s_wrongValue_error_status
- static const int32_t s_noCreation_error_status
- static const int32_t s_inconsistentValue_error_status
- static const int32_t s_resourceUnavailable_error_status
- static const int32_t s_commitFailed_error_status
- static const int32_t s_undoFailed_error_status
- static const int32_t s_authorizationError_error_status
- static const int32_t s_notWritable_error_status
- static const int32_t s_inconsistentName_error_status
- int32_t m_error_index
- static const int32_t s_error_indexMinSize
- static const int32_t s_error_indexMaxSize
- VarBindList* m_variable_bindings

## Detailed Description

static const int s_type | ### s_type

int32_t m_request_id | ### m_request_id

static const int32_t s_request_idMinSize | ### s_request_idMinSize

static const int32_t s_request_idMaxSize | ### s_request_idMaxSize

int32_t m_error_status | ### m_error_status

static const int32_t s_noError_error_status | ### s_noError_error_status

static const int32_t s_tooBig_error_status | ### s_tooBig_error_status

static const int32_t s_noSuchName_error_status | ### s_noSuchName_error_status

static const int32_t s_badValue_error_status | ### s_badValue_error_status

static const int32_t s_readOnly_error_status | ### s_readOnly_error_status

static const int32_t s_genErr_error_status | ### s_genErr_error_status

static const int32_t s_noAccess_error_status | ### s_noAccess_error_status

static const int32_t s_wrongType_error_status | ### s_wrongType_error_status

static const int32_t s_wrongLength_error_status | ### s_wrongLength_error_status

static const int32_t s_wrongEncoding_error_status | ### s_wrongEncoding_error_status

static const int32_t s_wrongValue_error_status | ### s_wrongValue_error_status

static const int32_t s_noCreation_error_status | ### s_noCreation_error_status

static const int32_t s_inconsistentValue_error_status | ### s_inconsistentValue_error_status

static const int32_t s_resourceUnavailable_error_status | ### s_resourceUnavailable_error_status

static const int32_t s_commitFailed_error_status | ### s_commitFailed_error_status

static const int32_t s_undoFailed_error_status | ### s_undoFailed_error_status

static const int32_t s_authorizationError_error_status | ### s_authorizationError_error_status

static const int32_t s_notWritable_error_status | ### s_notWritable_error_status

static const int32_t s_inconsistentName_error_status | ### s_inconsistentName_error_status

int32_t m_error_index | ### m_error_index

static const int32_t s_error_indexMinSize | ### s_error_indexMinSize

static const int32_t s_error_indexMaxSize | ### s_error_indexMaxSize

VarBindList* m_variable_bindings | ### m_variable_bindings

PDU () | ### PDU

PDU (void* data, int len) | ### PDU

~PDU () | ### ~PDU

int decode (DataBlock& data) | ### decode

int encode (DataBlock& data) | ### encode

void getParams (NamedList* params) | ### getParams

void setParams (NamedList* params) | ### setParams

Generated by: paulc on bussard on Mon Feb 10 13:15:47 2014, using kdoc 2.0a54.