class H323NonStandardCapabilityInfo

This class describes the interface to a non-standard codec used to transfer data via the logical channels opened and managed by the H323 control channel.

Inheritance:


Public Methods

[more] H323NonStandardCapabilityInfo ( H323EndPoint & endpoint, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
[more] H323NonStandardCapabilityInfo ( const PString & oid, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
[more] H323NonStandardCapabilityInfo ( BYTE country, BYTE extension, WORD maufacturer, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
[more]virtual ~H323NonStandardCapabilityInfo ()
Destroy the capability information
[more]virtual BOOL OnSendingPDU ( PBYTEArray & data ) const
This function gets the non-standard data field.
[more]virtual BOOL OnReceivedPDU ( const PBYTEArray & data )
This function validates and uses the non-standard data field.


Documentation

This class describes the interface to a non-standard codec used to transfer data via the logical channels opened and managed by the H323 control channel.

It is expected that an application makes a descendent off H323NonStandardAudioCapability or H323NonStandardVideoCapability which multiply inherit from this class.

o H323NonStandardCapabilityInfo( H323EndPoint & endpoint, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
Parameters:
endpoint - Endpoint to get t35 information
dataBlock - Non-Standard data for codec type
dataSize - Size of dataBlock
comparisonOffset - Offset into dataBlock to compare
comparisonLength - Length of bytes to compare

o H323NonStandardCapabilityInfo( const PString & oid, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
Parameters:
dataBlock - Non-Standard data for codec type
dataSize - Size of dataBlock

o H323NonStandardCapabilityInfo( BYTE country, BYTE extension, WORD maufacturer, const BYTE * dataBlock, PINDEX dataSize, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
Create a new set of information about a non-standard codec.
Parameters:
country - t35 information
extension - t35 information
maufacturer - t35 information
dataBlock - Non-Standard data for codec type
dataSize - Size of dataBlock
comparisonOffset - Offset into dataBlock to compare
comparisonLength - Length of bytes to compare

ovirtual ~H323NonStandardCapabilityInfo()
Destroy the capability information

ovirtual BOOL OnSendingPDU( PBYTEArray & data ) const
This function gets the non-standard data field.

The default behaviour sets data to fixedData.

Parameters:
data - Data field in PDU to send

ovirtual BOOL OnReceivedPDU( const PBYTEArray & data )
This function validates and uses the non-standard data field.

The default behaviour returns TRUE if data is equal to fixedData.

Parameters:
data - Data field in PDU received


Direct child classes:
H323NonStandardVideoCapability
H323NonStandardDataCapability
H323NonStandardAudioCapability

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.