class IAXInfoElementNumeric

A single IAX2 numeric Information Element. More...

Full nameTelEngine::IAXInfoElementNumeric
Definition#include <libs/yiax/yateiax.h>
InheritsTelEngine::IAXInfoElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class holds a single Information Element with 1, 2 or 4 byte(s) length data

 IAXInfoElementNumeric (Type type, u_int32_t val, u_int8_t len)

IAXInfoElementNumeric

Constructor

Parameters:
typeType of this IE
valSource value to construct this IE
lenValue length

 ~IAXInfoElementNumeric ()

~IAXInfoElementNumeric

[virtual]

Destructor

inline int  length ()

length

[const]

Get the data length

Returns: The data length

inline u_int32_t  data ()

data

[const]

Get the data

Returns: The data

void  toBuffer (DataBlock& buf)

toBuffer

[virtual]

Constructs a buffer containing this Information Element

Parameters:
bufDestination buffer

Reimplemented from IAXInfoElement.

void  toString (String& buf)

toString

[virtual]

Add this element to a string

Parameters:
bufDestination string

Reimplemented from IAXInfoElement.


Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54.