#include <h224.h>
Inheritance diagram for H224_Frame:
Public Member Functions | |
H224_Frame (PINDEX clientDataSize=254) | |
H224_Frame (const OpalH224Client &h224Client, PINDEX clientDataSize=254) | |
~H224_Frame () | |
PBoolean | IsHighPriority () const |
void | SetHighPriority (PBoolean flag) |
WORD | GetDestinationTerminalAddress () const |
void | SetDestinationTerminalAddress (WORD destination) |
WORD | GetSourceTerminalAddress () const |
void | SetSourceTerminalAddress (WORD source) |
void | SetClient (const OpalH224Client &h224Client) |
BYTE | GetClientID () const |
void | SetClientID (BYTE clientID) |
BYTE | GetExtendedClientID () const |
void | SetExtendedClientID (BYTE extendedClientID) |
BYTE | GetCountryCode () const |
BYTE | GetCountryCodeExtension () const |
WORD | GetManufacturerCode () const |
BYTE | GetManufacturerClientID () const |
void | SetNonStandardClientInformation (BYTE countryCode, BYTE countryCodeExtension, WORD manufacturerCode, BYTE manufacturerClientID) |
PBoolean | GetBS () const |
void | SetBS (PBoolean bs) |
PBoolean | GetES () const |
void | SetES (PBoolean es) |
PBoolean | GetC1 () const |
void | SetC1 (PBoolean c1) |
PBoolean | GetC0 () const |
void | SetC0 (PBoolean c0) |
BYTE | GetSegmentNumber () const |
void | SetSegmentNumber (BYTE segmentNumber) |
BYTE * | GetClientDataPtr () const |
PINDEX | GetClientDataSize () const |
void | SetClientDataSize (PINDEX size) |
PBoolean | DecodeAnnexQ (const BYTE *data, PINDEX size) |
PBoolean | DecodeHDLC (const BYTE *data, PINDEX size) |
H224_Frame::H224_Frame | ( | PINDEX | clientDataSize = 254 |
) |
H224_Frame::H224_Frame | ( | const OpalH224Client & | h224Client, | |
PINDEX | clientDataSize = 254 | |||
) |
H224_Frame::~H224_Frame | ( | ) |
PBoolean H224_Frame::IsHighPriority | ( | ) | const [inline] |
void H224_Frame::SetHighPriority | ( | PBoolean | flag | ) |
WORD H224_Frame::GetDestinationTerminalAddress | ( | ) | const |
void H224_Frame::SetDestinationTerminalAddress | ( | WORD | destination | ) |
WORD H224_Frame::GetSourceTerminalAddress | ( | ) | const |
void H224_Frame::SetSourceTerminalAddress | ( | WORD | source | ) |
void H224_Frame::SetClient | ( | const OpalH224Client & | h224Client | ) |
Convenience function to set the H.224 header values
BYTE H224_Frame::GetClientID | ( | ) | const |
void H224_Frame::SetClientID | ( | BYTE | clientID | ) |
BYTE H224_Frame::GetExtendedClientID | ( | ) | const |
Returns 0 in case clientID isn't set to ExtendedClientID
void H224_Frame::SetExtendedClientID | ( | BYTE | extendedClientID | ) |
Does nothing in case clientID isn't set to ExtendedClientID
BYTE H224_Frame::GetCountryCode | ( | ) | const |
Returns 0 in case clientID isn't set to NonStandardClientID
BYTE H224_Frame::GetCountryCodeExtension | ( | ) | const |
WORD H224_Frame::GetManufacturerCode | ( | ) | const |
BYTE H224_Frame::GetManufacturerClientID | ( | ) | const |
void H224_Frame::SetNonStandardClientInformation | ( | BYTE | countryCode, | |
BYTE | countryCodeExtension, | |||
WORD | manufacturerCode, | |||
BYTE | manufacturerClientID | |||
) |
Does nothing in case clientID isn't set to NonStandardClientID
PBoolean H224_Frame::GetBS | ( | ) | const |
Note: The following methods depend on the value of clientID as to where put the value. Always set clientID first before altering these values
void H224_Frame::SetBS | ( | PBoolean | bs | ) |
PBoolean H224_Frame::GetES | ( | ) | const |
void H224_Frame::SetES | ( | PBoolean | es | ) |
PBoolean H224_Frame::GetC1 | ( | ) | const |
void H224_Frame::SetC1 | ( | PBoolean | c1 | ) |
PBoolean H224_Frame::GetC0 | ( | ) | const |
void H224_Frame::SetC0 | ( | PBoolean | c0 | ) |
BYTE H224_Frame::GetSegmentNumber | ( | ) | const |
void H224_Frame::SetSegmentNumber | ( | BYTE | segmentNumber | ) |
BYTE* H224_Frame::GetClientDataPtr | ( | ) | const |
PINDEX H224_Frame::GetClientDataSize | ( | ) | const |
void H224_Frame::SetClientDataSize | ( | PINDEX | size | ) |
PBoolean H224_Frame::DecodeAnnexQ | ( | const BYTE * | data, | |
PINDEX | size | |||
) |
Decodes a Q.922 frame from a given buffer, encoded as descibed in H.323 Annex Q. Returns the success of this operation
Reimplemented from Q922_Frame.
PBoolean H224_Frame::DecodeHDLC | ( | const BYTE * | data, | |
PINDEX | size | |||
) |
Decodes a Q.922 frame from a given buffer. Returns the success of this operation
Reimplemented from Q922_Frame.