OPAL  Version 3.10.4
IAX2IeApparentAddr Class Reference

#include <ies.h>

Inheritance diagram for IAX2IeApparentAddr:
IAX2IeSockaddrIn IAX2Ie

Public Member Functions

 IAX2IeApparentAddr (BYTE length, BYTE *srcData)
 ~IAX2IeApparentAddr ()
virtual void PrintOn (ostream &str) const
virtual BYTE GetKeyValue () const
virtual void StoreDataIn (IAX2IeData &res)
- Public Member Functions inherited from IAX2IeSockaddrIn
 IAX2IeSockaddrIn (BYTE length, BYTE *srcData)
 IAX2IeSockaddrIn (const PIPSocket::Address &addr, PINDEX port)
 IAX2IeSockaddrIn ()
 ~IAX2IeSockaddrIn ()
virtual BYTE GetLengthOfData ()
void SetData (const PIPSocket::Address &newAddr, PINDEX newPort)
PIPSocket::Address ReadData ()
- Public Member Functions inherited from IAX2Ie
 IAX2Ie ()
virtual ~IAX2Ie ()
virtual PBoolean IsValid ()
int GetBinarySize ()
void SetData (int &)
void WriteBinary (void *data, PINDEX &writeIndex)

Additional Inherited Members

- Protected Member Functions inherited from IAX2IeSockaddrIn
virtual void WriteBinary (BYTE *data)
- Protected Attributes inherited from IAX2IeSockaddrIn
PIPSocket::Address dataValue
PINDEX portNumber
- Protected Attributes inherited from IAX2Ie
PBoolean validData

Detailed Description

An Information Element that contains the apparent daddress of peer


Constructor & Destructor Documentation

IAX2IeApparentAddr::IAX2IeApparentAddr ( BYTE  length,
BYTE *  srcData 
)
inline

Constructor from data read from the network.

Contents are undefined if the network data is bogus/invalid

IAX2IeApparentAddr::~IAX2IeApparentAddr ( )
inline

Desttructor, which does nothing


Member Function Documentation

virtual BYTE IAX2IeApparentAddr::GetKeyValue ( ) const
inlinevirtual

Get the key value for this particular Information Element class

Reimplemented from IAX2Ie.

References IAX2Ie::ie_apparentAddr.

virtual void IAX2IeApparentAddr::PrintOn ( ostream &  str) const
virtual

print this class (nicely) to the designated stream

Reimplemented from IAX2IeSockaddrIn.

virtual void IAX2IeApparentAddr::StoreDataIn ( IAX2IeData res)
inlinevirtual

Take the data from this IAX2Ie, and copy it into the IAX2IeData structure. This is done on processing an incoming frame which contains IAX2Ie in the data section.

Reimplemented from IAX2Ie.

References IAX2IeData::apparentAddr, and IAX2IeSockaddrIn::dataValue.


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