virtual BOOL OnSendingPDU( H245_Capability & pdu ) const
- This function is called whenever and outgoing TerminalCapabilitySet
PDU is being constructed for the control channel. It allows the
capability to set the PDU fields from information in members specific
to the class.
The default behaviour is pure.
- Parameters:
- pdu - PDU to set information on
virtual BOOL OnSendingPDU( H245_DataType & pdu ) const
- This function is called whenever and outgoing OpenLogicalChannel
PDU is being constructed for the control channel. It allows the
capability to set the PDU fields from information in members specific
to the class.
The default behaviour is pure.
- Parameters:
- pdu - PDU to set information on
virtual BOOL OnSendingPDU( H245_ModeElement & pdu ) const
- This function is called whenever and outgoing RequestMode
PDU is being constructed for the control channel. It allows the
capability to set the PDU fields from information in members specific
to the class.
The default behaviour calls the OnSendingPDU() function with a more
specific PDU type.
- Parameters:
- pdu - PDU to set information on
virtual BOOL OnReceivedPDU( const H245_Capability & pdu )
- This function is called whenever and incoming TerminalCapabilitySet
PDU is received on the control channel, and a new H323Capability
descendent was created. This completes reading fields from the PDU
into the classes members.
If the function returns FALSE then the received PDU codec description
is not supported, so will be ignored. The default behaviour simply
returns TRUE.
- Parameters:
- pdu - PDU to get information from
virtual BOOL OnReceivedPDU( const H245_DataType & pdu, BOOL receiver )
- This function is called whenever and incoming OpenLogicalChannel
PDU has been used to construct the control channel. It allows the
capability to set from the PDU fields, information in members specific
to the class.
The default behaviour is pure.
- Parameters:
- pdu - PDU to get information from
receiver - Is receiver OLC
virtual BOOL IsUsable( const H323Connection & connection ) const
- Validate that the capability is usable given the connection.
This checks agains the negotiated protocol version number and remote
application to determine if this capability should be used in TCS or
OLC pdus.
The default behaviour will check for early versions and return FALSE
for RFC2833 mode.