Yate
HeaderData Class Reference
Inheritance diagram for HeaderData:
AsnObject GenObject

Public Member Functions

 HeaderData (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_msgID
 
u_int32_t m_msgMaxSize
 
OctetString m_msgFlags
 
u_int32_t m_msgSecurityModel
 

Static Public Attributes

static const int s_type = ASNLib::SEQUENCE
 
static const u_int32_t s_msgIDMinSize = 0x0
 
static const u_int32_t s_msgIDMaxSize = 0x7fffffff
 
static const u_int32_t s_msgMaxSizeMinSize = 0x1e4
 
static const u_int32_t s_msgMaxSizeMaxSize = 0x7fffffff
 
static const u_int8_t s_msgFlagsSize = 0x1
 
static const u_int32_t s_msgSecurityModelMinSize = 0x1
 
static const u_int32_t s_msgSecurityModelMaxSize = 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: