OPAL
Version 3.14.3
|
#include <ies.h>
Public Member Functions | |
construction/destruction | |
IAX2IeSockaddrIn (BYTE length, BYTE *srcData) | |
IAX2IeSockaddrIn (const PIPSocket::Address &addr, PINDEX port) | |
IAX2IeSockaddrIn () | |
~IAX2IeSockaddrIn () | |
Worker methods | |
virtual void | PrintOn (ostream &str) const |
virtual BYTE | GetLengthOfData () const |
void | SetData (const PIPSocket::Address &newAddr, PINDEX newPort) |
PIPSocket::Address | ReadData () |
![]() | |
IAX2Ie () | |
virtual | ~IAX2Ie () |
virtual PBoolean | IsValid () |
int | GetBinarySize () const |
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 | |
PIPSocket::Address | dataValue |
PINDEX | portNumber |
![]() | |
PBoolean | validData |
An Information Element that contains an Ip address and port
IAX2IeSockaddrIn::IAX2IeSockaddrIn | ( | BYTE | length, |
BYTE * | srcData | ||
) |
Constructor - read data from source array.
Contents are valid if source array is valid.
|
inline |
Construct to an initialized value
References SetData().
|
inline |
Constructor to an invalid and empty result
|
inline |
Destructor
|
inlinevirtual |
return the number of bytes to hold this data element
Reimplemented from IAX2Ie.
|
virtual |
print this class (nicely) to the designated stream
Reimplemented from IAX2Ie.
Reimplemented in IAX2IeApparentAddr.
|
inline |
Report the value of the stored data for this class
References dataValue.
|
inline |
Take the supplied data and copy contents into this IE
References dataValue, portNumber, and IAX2Ie::validData.
Referenced by IAX2IeSockaddrIn().
|
protectedvirtual |
|
protected |
The actual ip address data stored in a IAX2IeSockaddrIn class
Referenced by ReadData(), SetData(), and IAX2IeApparentAddr::StoreDataIn().
|
protected |
The actual port number data stored in a IAX2IeSockaddrIn class
Referenced by SetData().