# H323ControlPDU Class Reference

`#include <h323pdu.h>`

## Public Member Functions

H245_RequestMessage & | Build (H245_RequestMessage::Choices request)
H245_ResponseMessage & | Build (H245_ResponseMessage::Choices response)
H245_CommandMessage & | Build (H245_CommandMessage::Choices command)
H245_IndicationMessage & | Build (H245_IndicationMessage::Choices indication)
H245_MasterSlaveDetermination & | BuildMasterSlaveDetermination (unsigned terminalType, unsigned statusDeterminationNumber)
H245_MasterSlaveDeterminationAck & | BuildMasterSlaveDeterminationAck (PBoolean isMaster)
H245_MasterSlaveDeterminationReject & | BuildMasterSlaveDeterminationReject (unsigned cause)
H245_TerminalCapabilitySet & | BuildTerminalCapabilitySet (const H323Connection &connection, unsigned sequenceNumber, PBoolean empty)
H245_TerminalCapabilitySetAck & | BuildTerminalCapabilitySetAck (unsigned sequenceNumber)
H245_TerminalCapabilitySetReject & | BuildTerminalCapabilitySetReject (unsigned sequenceNumber, unsigned cause)
H245_OpenLogicalChannel & | BuildOpenLogicalChannel (unsigned forwardLogicalChannelNumber)
H245_RequestChannelClose & | BuildRequestChannelClose (unsigned channelNumber, unsigned reason)
H245_CloseLogicalChannel & | BuildCloseLogicalChannel (unsigned channelNumber)
H245_OpenLogicalChannelAck & | BuildOpenLogicalChannelAck (unsigned channelNumber)
H245_OpenLogicalChannelReject & | BuildOpenLogicalChannelReject (unsigned channelNumber, unsigned cause)
H245_OpenLogicalChannelConfirm & | BuildOpenLogicalChannelConfirm (unsigned channelNumber)
H245_CloseLogicalChannelAck & | BuildCloseLogicalChannelAck (unsigned channelNumber)
H245_RequestChannelCloseAck & | BuildRequestChannelCloseAck (unsigned channelNumber)
H245_RequestChannelCloseReject & | BuildRequestChannelCloseReject (unsigned channelNumber)
H245_RequestChannelCloseRelease & | BuildRequestChannelCloseRelease (unsigned channelNumber)
H245_RequestMode & | BuildRequestMode (unsigned sequenceNumber)
H245_RequestModeAck & | BuildRequestModeAck (unsigned sequenceNumber, unsigned response)
H245_RequestModeReject & | BuildRequestModeReject (unsigned sequenceNumber, unsigned cause)
H245_RoundTripDelayRequest & | BuildRoundTripDelayRequest (unsigned sequenceNumber)
H245_RoundTripDelayResponse & | BuildRoundTripDelayResponse (unsigned sequenceNumber)
H245_UserInputIndication & | BuildUserInputIndication (const PString &value)
H245_UserInputIndication & | BuildUserInputIndication (char tone, unsigned duration, unsigned logicalChannel, unsigned rtpTimestamp)
H245_MiscellaneousCommand & | BuildMiscellaneousCommand (unsigned channelNumber, unsigned type)
H245_FlowControlCommand & | BuildFlowControlCommand (unsigned channelNumber, unsigned maxBitRate)
H245_MiscellaneousIndication & | BuildMiscellaneousIndication (unsigned channelNumber, unsigned type)
H245_GenericMessage & | BuildGenericRequest (const PString &identifier, unsigned subMsgId)
H245_GenericMessage & | BuildGenericResponse (const PString &identifier, unsigned subMsgId)
H245_GenericMessage & | BuildGenericCommand (const PString &identifier, unsigned subMsgId)
H245_GenericMessage & | BuildGenericIndication (const PString &identifier, unsigned subMsgId)
H245_FunctionNotUnderstood & | BuildFunctionNotUnderstood (const H323ControlPDU &pdu)
H245_EndSessionCommand & | BuildEndSessionCommand (unsigned reason)

## Detailed Description

Wrapper class for the H323 control channel.

## Member Function Documentation

H245_IndicationMessage& H323ControlPDU::Build | ( | H245_IndicationMessage::Choices | indication | ) |

H245_CommandMessage& H323ControlPDU::Build | ( | H245_CommandMessage::Choices | command | ) |

H245_ResponseMessage& H323ControlPDU::Build | ( | H245_ResponseMessage::Choices | response | ) |

H245_RequestMessage& H323ControlPDU::Build | ( | H245_RequestMessage::Choices | request | ) |

H245_CloseLogicalChannel& H323ControlPDU::BuildCloseLogicalChannel | ( | unsigned | channelNumber | ) |

H245_CloseLogicalChannelAck& H323ControlPDU::BuildCloseLogicalChannelAck | ( | unsigned | channelNumber | ) |

H245_EndSessionCommand& H323ControlPDU::BuildEndSessionCommand | ( | unsigned | reason | ) |

H245_FlowControlCommand& H323ControlPDU::BuildFlowControlCommand | ( | unsigned | channelNumber,
|  | unsigned | maxBitRate |
| ) |  |  |

H245_FunctionNotUnderstood& H323ControlPDU::BuildFunctionNotUnderstood | ( | const H323ControlPDU & | pdu | ) |

H245_GenericMessage& H323ControlPDU::BuildGenericCommand | ( | const PString & | identifier,
|  | unsigned | subMsgId |
| ) |  |  |

H245_GenericMessage& H323ControlPDU::BuildGenericIndication | ( | const PString & | identifier,
|  | unsigned | subMsgId |
| ) |  |  |

H245_GenericMessage& H323ControlPDU::BuildGenericRequest | ( | const PString & | identifier,
|  | unsigned | subMsgId |
| ) |  |  |

H245_GenericMessage& H323ControlPDU::BuildGenericResponse | ( | const PString & | identifier,
|  | unsigned | subMsgId |
| ) |  |  |

H245_MasterSlaveDetermination& H323ControlPDU::BuildMasterSlaveDetermination | ( | unsigned | terminalType,
|  | unsigned | statusDeterminationNumber |
| ) |  |  |

H245_MasterSlaveDeterminationAck& H323ControlPDU::BuildMasterSlaveDeterminationAck | ( | PBoolean | isMaster | ) |

H245_MasterSlaveDeterminationReject& H323ControlPDU::BuildMasterSlaveDeterminationReject | ( | unsigned | cause | ) |

H245_MiscellaneousCommand& H323ControlPDU::BuildMiscellaneousCommand | ( | unsigned | channelNumber,
|  | unsigned | type |
| ) |  |  |

H245_MiscellaneousIndication& H323ControlPDU::BuildMiscellaneousIndication | ( | unsigned | channelNumber,
|  | unsigned | type |
| ) |  |  |

H245_OpenLogicalChannel& H323ControlPDU::BuildOpenLogicalChannel | ( | unsigned | forwardLogicalChannelNumber | ) |

H245_OpenLogicalChannelAck& H323ControlPDU::BuildOpenLogicalChannelAck | ( | unsigned | channelNumber | ) |

H245_OpenLogicalChannelConfirm& H323ControlPDU::BuildOpenLogicalChannelConfirm | ( | unsigned | channelNumber | ) |

H245_OpenLogicalChannelReject& H323ControlPDU::BuildOpenLogicalChannelReject | ( | unsigned | channelNumber,
|  | unsigned | cause |
| ) |  |  |

H245_RequestChannelClose& H323ControlPDU::BuildRequestChannelClose | ( | unsigned | channelNumber,
|  | unsigned | reason |
| ) |  |  |

H245_RequestChannelCloseAck& H323ControlPDU::BuildRequestChannelCloseAck | ( | unsigned | channelNumber | ) |

H245_RequestChannelCloseReject& H323ControlPDU::BuildRequestChannelCloseReject | ( | unsigned | channelNumber | ) |

H245_RequestChannelCloseRelease& H323ControlPDU::BuildRequestChannelCloseRelease | ( | unsigned | channelNumber | ) |

H245_RequestMode& H323ControlPDU::BuildRequestMode | ( | unsigned | sequenceNumber | ) |

H245_RequestModeAck& H323ControlPDU::BuildRequestModeAck | ( | unsigned | sequenceNumber,
|  | unsigned | response |
| ) |  |  |

H245_RequestModeReject& H323ControlPDU::BuildRequestModeReject | ( | unsigned | sequenceNumber,
|  | unsigned | cause |
| ) |  |  |

H245_RoundTripDelayRequest& H323ControlPDU::BuildRoundTripDelayRequest | ( | unsigned | sequenceNumber | ) |

H245_RoundTripDelayResponse& H323ControlPDU::BuildRoundTripDelayResponse | ( | unsigned | sequenceNumber | ) |

H245_TerminalCapabilitySet& H323ControlPDU::BuildTerminalCapabilitySet | ( | const H323Connection & | connection,
|  | unsigned | sequenceNumber,
|  | PBoolean | empty |
| ) |  |  |

H245_TerminalCapabilitySetAck& H323ControlPDU::BuildTerminalCapabilitySetAck | ( | unsigned | sequenceNumber | ) |

H245_TerminalCapabilitySetReject& H323ControlPDU::BuildTerminalCapabilitySetReject | ( | unsigned | sequenceNumber,
|  | unsigned | cause |
| ) |  |  |

H245_UserInputIndication& H323ControlPDU::BuildUserInputIndication | ( | char | tone,
|  | unsigned | duration,
|  | unsigned | logicalChannel,
|  | unsigned | rtpTimestamp |
| ) |  |  |

Parameters:

  tone | DTMF tone code
  duration | Duration of tone in milliseconds
  logicalChannel | Logical channel number for RTP sync.
  rtpTimestamp | RTP timestamp in logical channel sync.

H245_UserInputIndication& H323ControlPDU::BuildUserInputIndication | ( | const PString & | value | ) |

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

- h323pdu.h