Yate
SNMPv3Message Class Reference
Inheritance diagram for SNMPv3Message:
AsnObject GenObject

Public Member Functions

 SNMPv3Message (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

u_int32_t m_msgVersion
 
HeaderDatam_msgGlobalData
 
OctetString m_msgSecurityParameters
 
ScopedPduDatam_msgData
 

Static Public Attributes

static const int s_type = ASNLib::SEQUENCE
 
static const u_int32_t s_msgVersionMinSize = 0x0
 
static const u_int32_t s_msgVersionMaxSize = 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: