H323_AnnexG Class Reference

`#include <h323annexg.h>`

Inheritance diagram for H323_AnnexG:

## Public Member Functions

Overrides from PObject
void | PrintOn (ostream &strm) const
Overrides from H323Transactor
virtual H323TransactionPDU * | CreateTransactionPDU () const
virtual PBoolean | HandleTransaction (const PASN_Object &rawPDU)
virtual void | OnSendingPDU (PASN_Object &rawPDU)
Public Member Functions inherited from H323Transactor
| H323Transactor (H323EndPoint &endpoint, H323Transport *transport, WORD localPort, WORD remotePort)
| H323Transactor (H323EndPoint &endpoint, const H323TransportAddress &iface, WORD localPort, WORD remotePort)
| ~H323Transactor ()
void | PrintOn (ostream &strm) const
PBoolean | SetTransport (const H323TransportAddress &iface)
H323TransportAddressArray | GetInterfaceAddresses (bool excludeLocalHost=true)
virtual PBoolean | StartChannel ()
virtual void | StopChannel ()
virtual PBoolean | WritePDU (H323TransactionPDU &pdu)
virtual PBoolean | WriteTo (H323TransactionPDU &pdu, const H323TransportAddressArray &addresses, PBoolean callback=true)
H323EndPoint & | GetEndPoint () const
H323Transport & | GetTransport () const
void | SetCheckResponseCryptoTokens (PBoolean value)
PBoolean | GetCheckResponseCryptoTokens ()

## Construction

enum | { DefaultUdpPort = 2099, DefaultTcpPort = 2099 }
| H323_AnnexG (H323EndPoint &endpoint, H323Transport *transport)
| H323_AnnexG (H323EndPoint &endpoint, const H323TransportAddress &addr)
| ~H323_AnnexG ()

## Protocol callbacks

virtual PBoolean | OnReceiveServiceRequest (const H501PDU &pdu, const H501_ServiceRequest &pduBody)
virtual PBoolean | OnReceiveServiceConfirmation (const H501PDU &pdu, const H501_ServiceConfirmation &pduBody)
virtual PBoolean | OnReceiveServiceRejection (const H501PDU &pdu, const H501_ServiceRejection &pduBody)
virtual PBoolean | OnReceiveServiceRelease (const H501PDU &pdu, const H501_ServiceRelease &pduBody)
virtual PBoolean | OnReceiveDescriptorRequest (const H501PDU &pdu, const H501_DescriptorRequest &pduBody)
virtual PBoolean | OnReceiveDescriptorConfirmation (const H501PDU &pdu, const H501_DescriptorConfirmation &pduBody)
virtual PBoolean | OnReceiveDescriptorRejection (const H501PDU &pdu, const H501_DescriptorRejection &pduBody)
virtual PBoolean | OnReceiveDescriptorIDRequest (const H501PDU &pdu, const H501_DescriptorIDRequest &pduBody)
virtual PBoolean | OnReceiveDescriptorIDConfirmation (const H501PDU &pdu, const H501_DescriptorIDConfirmation &pduBody)
virtual PBoolean | OnReceiveDescriptorIDRejection (const H501PDU &pdu, const H501_DescriptorIDRejection &pduBody)
virtual PBoolean | OnReceiveDescriptorUpdate (const H501PDU &pdu, const H501_DescriptorUpdate &pduBody)
virtual PBoolean | OnReceiveDescriptorUpdateACK (const H501PDU &pdu, const H501_DescriptorUpdateAck &pduBody)
virtual PBoolean | OnReceiveAccessRequest (const H501PDU &pdu, const H501_AccessRequest &pduBody)
virtual PBoolean | OnReceiveAccessConfirmation (const H501PDU &pdu, const H501_AccessConfirmation &pduBody)
virtual PBoolean | OnReceiveAccessRejection (const H501PDU &pdu, const H501_AccessRejection &pduBody)
virtual PBoolean | OnReceiveRequestInProgress (const H501PDU &pdu, const H501_RequestInProgress &pduBody)
virtual PBoolean | OnReceiveNonStandardRequest (const H501PDU &pdu, const H501_NonStandardRequest &pduBody)
virtual PBoolean | OnReceiveNonStandardConfirmation (const H501PDU &pdu, const H501_NonStandardConfirmation &pduBody)
virtual PBoolean | OnReceiveNonStandardRejection (const H501PDU &pdu, const H501_NonStandardRejection &pduBody)
virtual PBoolean | OnReceiveUnknownMessageResponse (const H501PDU &pdu, const H501_UnknownMessageResponse &pduBody)
virtual PBoolean | OnReceiveUsageRequest (const H501PDU &pdu, const H501_UsageRequest &pduBody)
virtual PBoolean | OnReceiveUsageConfirmation (const H501PDU &pdu, const H501_UsageConfirmation &pduBody)
virtual PBoolean | OnReceiveUsageIndicationConfirmation (const H501PDU &pdu, const H501_UsageIndicationConfirmation &pduBody)
virtual PBoolean | OnReceiveUsageIndicationRejection (const H501PDU &pdu, const H501_UsageIndicationRejection &pduBody)
virtual PBoolean | OnReceiveUsageRejection (const H501PDU &pdu, const H501_UsageRejection &pduBody)
virtual PBoolean | OnReceiveValidationRequest (const H501PDU &pdu, const H501_ValidationRequest &pduBody)
virtual PBoolean | OnReceiveValidationConfirmation (const H501PDU &pdu, const H501_ValidationConfirmation &pduBody)
virtual PBoolean | OnReceiveValidationRejection (const H501PDU &pdu, const H501_ValidationRejection &pduBody)
virtual PBoolean | OnReceiveAuthenticationRequest (const H501PDU &pdu, const H501_AuthenticationRequest &pduBody)
virtual PBoolean | OnReceiveAuthenticationConfirmation (const H501PDU &pdu, const H501_AuthenticationConfirmation &pduBody)
virtual PBoolean | OnReceiveAuthenticationRejection (const H501PDU &pdu, const H501_AuthenticationRejection &pduBody)
virtual PBoolean | OnReceiveUnknown (const H501PDU &)
void | Construct ()

## Additional Inherited Members

Protected Member Functions inherited from H323Transactor
void | Construct ()
unsigned | GetNextSequenceNumber ()
PBoolean | SetUpCallSignalAddresses (H225_ArrayOf_TransportAddress &addresses)
| PDECLARE_NOTIFIER (PThread, H323Transactor, HandleTransactions)
virtual PBoolean | MakeRequest (Request &request)
PBoolean | CheckForResponse (unsigned, unsigned, const PASN_Choice *=NULL)
PBoolean | HandleRequestInProgress (const H323TransactionPDU &pdu, unsigned delay)
PBoolean | CheckCryptoTokens (const H323TransactionPDU &pdu, const PASN_Array &clearTokens, unsigned clearOptionalField, const PASN_Array &cryptoTokens, unsigned cryptoOptionalField)
void | AgeResponses ()
PBoolean | SendCachedResponse (const H323TransactionPDU &pdu)
Protected Attributes inherited from H323Transactor
H323EndPoint & | endpoint
WORD | defaultLocalPort
WORD | defaultRemotePort
H323Transport * | transport
PBoolean | checkResponseCryptoTokens
unsigned | nextSequenceNumber
PMutex | nextSequenceNumberMutex
PDictionary< POrdinalKey, Request > | requests
PMutex | requestsMutex
Request * | lastRequest
PMutex | pduWriteMutex
PSortedList< Response > | responses

## Detailed Description

This class embodies the H.323 Annex G using the H.501 protocol

## Member Enumeration Documentation

anonymous enum

Enumerator
DefaultUdpPort |
DefaultTcpPort |

## Constructor & Destructor Documentation

H323_AnnexG::H323_AnnexG | ( | H323EndPoint & | endpoint,
|  | H323Transport * | transport
| ) |  |

Create a new protocol handler.

Parameters

  endpoint | Endpoint gatekeeper is associated with.
  transport | Transport over which gatekeepers communicates.

H323_AnnexG::H323_AnnexG | ( | H323EndPoint & | endpoint,
|  | const H323TransportAddress & | addr
| ) |  |

Parameters

  endpoint | Endpoint gatekeeper is associated with.
  addr | Transport over which gatekeepers communicates.

H323_AnnexG::~H323_AnnexG | ( |  | ) |

Destroy protocol handler.

## Member Function Documentation

void H323_AnnexG::Construct | ( |  | ) |

protected

virtual H323TransactionPDU* H323_AnnexG::CreateTransactionPDU | ( |  | ) | const

virtual

Create the transaction PDU for reading.

Implements H323Transactor.

virtual PBoolean H323_AnnexG::HandleTransaction | ( | const PASN_Object & | rawPDU | ) |

virtual

Handle and dispatch a transaction PDU

Implements H323Transactor.

virtual PBoolean H323_AnnexG::OnReceiveAccessConfirmation | ( | const H501PDU & | pdu,
|  | const H501_AccessConfirmation & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveAccessRejection | ( | const H501PDU & | pdu,
|  | const H501_AccessRejection & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveAccessRequest | ( | const H501PDU & | pdu,
|  | const H501_AccessRequest & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveAuthenticationConfirmation | ( | const H501PDU & | pdu,
|  | const H501_AuthenticationConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveAuthenticationRejection | ( | const H501PDU & | pdu,
|  | const H501_AuthenticationRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveAuthenticationRequest | ( | const H501PDU & | pdu,
|  | const H501_AuthenticationRequest & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorConfirmation | ( | const H501PDU & | pdu,
|  | const H501_DescriptorConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorIDConfirmation | ( | const H501PDU & | pdu,
|  | const H501_DescriptorIDConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorIDRejection | ( | const H501PDU & | pdu,
|  | const H501_DescriptorIDRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorIDRequest | ( | const H501PDU & | pdu,
|  | const H501_DescriptorIDRequest & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorRejection | ( | const H501PDU & | pdu,
|  | const H501_DescriptorRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorRequest | ( | const H501PDU & | pdu,
|  | const H501_DescriptorRequest & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveDescriptorUpdate | ( | const H501PDU & | pdu,
|  | const H501_DescriptorUpdate & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveDescriptorUpdateACK | ( | const H501PDU & | pdu,
|  | const H501_DescriptorUpdateAck & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveNonStandardConfirmation | ( | const H501PDU & | pdu,
|  | const H501_NonStandardConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveNonStandardRejection | ( | const H501PDU & | pdu,
|  | const H501_NonStandardRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveNonStandardRequest | ( | const H501PDU & | pdu,
|  | const H501_NonStandardRequest & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveRequestInProgress | ( | const H501PDU & | pdu,
|  | const H501_RequestInProgress & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveServiceConfirmation | ( | const H501PDU & | pdu,
|  | const H501_ServiceConfirmation & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveServiceRejection | ( | const H501PDU & | pdu,
|  | const H501_ServiceRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveServiceRelease | ( | const H501PDU & | pdu,
|  | const H501_ServiceRelease & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveServiceRequest | ( | const H501PDU & | pdu,
|  | const H501_ServiceRequest & | pduBody
| ) |  |

virtual

Reimplemented in H323PeerElement.

virtual PBoolean H323_AnnexG::OnReceiveUnknown | ( | const H501PDU & |  | ) |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUnknownMessageResponse | ( | const H501PDU & | pdu,
|  | const H501_UnknownMessageResponse & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUsageConfirmation | ( | const H501PDU & | pdu,
|  | const H501_UsageConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUsageIndicationConfirmation | ( | const H501PDU & | pdu,
|  | const H501_UsageIndicationConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUsageIndicationRejection | ( | const H501PDU & | pdu,
|  | const H501_UsageIndicationRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUsageRejection | ( | const H501PDU & | pdu,
|  | const H501_UsageRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveUsageRequest | ( | const H501PDU & | pdu,
|  | const H501_UsageRequest & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveValidationConfirmation | ( | const H501PDU & | pdu,
|  | const H501_ValidationConfirmation & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveValidationRejection | ( | const H501PDU & | pdu,
|  | const H501_ValidationRejection & | pduBody
| ) |  |

virtual

virtual PBoolean H323_AnnexG::OnReceiveValidationRequest | ( | const H501PDU & | pdu,
|  | const H501_ValidationRequest & | pduBody
| ) |  |

virtual

virtual void H323_AnnexG::OnSendingPDU | ( | PASN_Object & | rawPDU | ) |

virtual

Allow for modifications to PDU on send.

Implements H323Transactor.

void H323_AnnexG::PrintOn | ( | ostream & | strm | ) | const

Print the name of the gatekeeper.

Parameters

  strm | Stream to print to.

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

- h323annexg.h