OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Protected Member Functions | Protected Attributes
IAX2IeBinary Class Reference

`#include <ies.h>`

Inheritance diagram for IAX2IeBinary:

## Public Member Functions

construction/destruction
| IAX2IeBinary (BYTE length, BYTE *srcData)
| IAX2IeBinary (PBYTEArray newValue)
| IAX2IeBinary ()
Worker methods
virtual BYTE | GetLengthOfData ()
virtual void | PrintOn (ostream &str) const
void | SetData (const PBYTEArray &newData)
void | GetData (PBYTEArray &answer)
void | CopyData (IAX2IeBinary *src)
Public Member Functions inherited from IAX2Ie
| IAX2Ie ()
virtual | ~IAX2Ie ()
virtual PBoolean | IsValid ()
int | GetBinarySize ()
virtual BYTE | GetKeyValue () const
void | SetData (int &)
int | ReadData ()
void | WriteBinary (void *data, PINDEX &writeIndex)
virtual void | StoreDataIn (IAX2IeData &)

## Protected Member Functions

virtual void | WriteBinary (BYTE *data)

## Protected Attributes

PBYTEArray | dataValue
Protected Attributes inherited from IAX2Ie
PBoolean | validData

## Additional Inherited Members

Public Types inherited from IAX2Ie

enum

IAX2IeTypeCode {
ie_calledNumber = 1, ie_callingNumber = 2, ie_callingAni = 3, ie_callingName = 4,
ie_calledContext = 5, ie_userName = 6, ie_password = 7, ie_capability = 8,
ie_format = 9, ie_language = 10, ie_version = 11, ie_adsicpe = 12,
ie_dnid = 13, ie_authMethods = 14, ie_challenge = 15, ie_md5Result = 16,
ie_rsaResult = 17, ie_apparentAddr = 18, ie_refresh = 19, ie_dpStatus = 20,
ie_callNo = 21, ie_cause = 22, ie_iaxUnknown = 23, ie_msgCount = 24,
ie_autoAnswer = 25, ie_musicOnHold = 26, ie_transferId = 27, ie_rdnis = 28,
ie_provisioning = 29, ie_aesProvisioning = 30, ie_dateTime = 31, ie_deviceType = 32,
ie_serviceIdent = 33, ie_firmwareVer = 34, ie_fwBlockDesc = 35, ie_fwBlockData = 36,
ie_provVer = 37, ie_callingPres = 38, ie_callingTon = 39, ie_callingTns = 40,
ie_samplingRate = 41, ie_causeCode = 42, ie_encryption = 43, ie_encKey = 44,
ie_codecPrefs = 45, ie_recJitter = 46, ie_recLoss = 47, ie_recPackets = 48,
ie_recDelay = 49, ie_recDropped = 50, ie_recOoo = 51, ie_variable = 52,
ie_ospToken = 53, ie_callToken = 54, ie_capability2 = 55, ie_format2 = 56,
ie_countEntries
}

static IAX2Ie * | BuildInformationElement (BYTE _typeCode, BYTE length, BYTE *srcData)

## Detailed Description

An Information Element that contains numbers which are in the range of 0..255 It is valid to have zero elements in this field.

## Constructor & Destructor Documentation

IAX2IeBinary::IAX2IeBinary | ( | BYTE | length,
|  | BYTE * | srcData
| ) |  |

Constructor - read data from source array.

If the length is zero, the value of srcData is ignored, and an empty array is created.

IAX2IeBinary::IAX2IeBinary | ( | PBYTEArray | newValue | ) |

inline

Construct to an initialised value

References SetData().

IAX2IeBinary::IAX2IeBinary | ( |  | ) |

inline

Constructor to an invalid and empty result

## Member Function Documentation

void IAX2IeBinary::CopyData | ( | IAX2IeBinary * | src | ) |

Copy the data from the supplied IAX2IeBinary and put it into this instance

void IAX2IeBinary::GetData | ( | PBYTEArray & | answer | ) |

Take the internal data and copy it to the parameter

virtual BYTE IAX2IeBinary::GetLengthOfData | ( |  | ) |

inline virtual

return the number of bytes to hold this data element

Reimplemented from IAX2Ie.

References dataValue.

virtual void IAX2IeBinary::PrintOn | ( | ostream & | str | ) | const

virtual

print this class (nicely) to the designated stream

Reimplemented from IAX2Ie.

Reimplemented in IAX2IeCallToken.

void IAX2IeBinary::SetData | ( | const PBYTEArray & | newData | ) |

Take the supplied data and copy contents into this IE

Referenced by IAX2IeBinary().

virtual void IAX2IeBinary::WriteBinary | ( | BYTE * | data | ) |

protected virtual

Take the data value for this particular IAX2Ie and copy into the memory region.

Reimplemented from IAX2Ie.

## Field Documentation

PBYTEArray IAX2IeBinary::dataValue

protected

The actual data stored in a IAX2IeBinary class

Referenced by GetLengthOfData(), and IAX2IeCallToken::StoreDataIn().

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

- ies.h