Yate
PDU Class Reference
Inheritance diagram for PDU:
AsnObject GenObject

Public Member Functions

 PDU (void *data, int len)
 
int decode (DataBlock &data)
 
int encode (DataBlock &data)
 
void getParams (NamedList *params)
 
void setParams (NamedList *params)
 
- Public Member Functions inherited from AsnObject
 AsnObject ()
 
 AsnObject (const AsnObject &original)
 
virtual ~AsnObject ()
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual bool alive () const
 
virtual void destruct ()
 
virtual const StringtoString () const
 
virtual const StringtraceId () const
 
virtual void * getObject (const String &name) const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Public Attributes

int32_t m_request_id
 
int32_t m_error_status
 
int32_t m_error_index
 
VarBindListm_variable_bindings
 

Static Public Attributes

static const int s_type = ASNLib::SEQUENCE
 
static const int32_t s_request_idMinSize = -0xccd56a0
 
static const int32_t s_request_idMaxSize = 0xccd569f
 
static const int32_t s_noError_error_status = 0x0
 
static const int32_t s_tooBig_error_status = 0x1
 
static const int32_t s_noSuchName_error_status = 0x2
 
static const int32_t s_badValue_error_status = 0x3
 
static const int32_t s_readOnly_error_status = 0x4
 
static const int32_t s_genErr_error_status = 0x5
 
static const int32_t s_noAccess_error_status = 0x6
 
static const int32_t s_wrongType_error_status = 0x7
 
static const int32_t s_wrongLength_error_status = 0x8
 
static const int32_t s_wrongEncoding_error_status = 0x9
 
static const int32_t s_wrongValue_error_status = 0xa
 
static const int32_t s_noCreation_error_status = 0xb
 
static const int32_t s_inconsistentValue_error_status = 0xc
 
static const int32_t s_resourceUnavailable_error_status = 0xd
 
static const int32_t s_commitFailed_error_status = 0xe
 
static const int32_t s_undoFailed_error_status = 0xf
 
static const int32_t s_authorizationError_error_status = 0x10
 
static const int32_t s_notWritable_error_status = 0x11
 
static const int32_t s_inconsistentName_error_status = 0x12
 
static const int32_t s_error_indexMinSize = 0x0
 
static const int32_t s_error_indexMaxSize = 0x7fffffff
 

Additional Inherited Members

- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 

Member Function Documentation

◆ decode()

int decode ( DataBlock & data)
virtual

Function to decode the parameters of this object from given data

Parameters
dataDataBlock from which the object is decoded

Implements AsnObject.

◆ encode()

int encode ( DataBlock & data)
virtual

Function to encode this object into a datablock

Parameters
dataThe DataBlock in which the object should be encoded

Implements AsnObject.

◆ getParams()

void getParams ( NamedList * params)
virtual

Function for obtaining this object's data

Parameters
paramsNamedList in which this object's data should be put

Implements AsnObject.

◆ setParams()

void setParams ( NamedList * params)
virtual

Function for setting this object's data

Parameters
paramsNamedList containing the values to which this object's data should be set

Implements AsnObject.


The documentation for this class was generated from the following file: