h323annexg.h
Go to the documentation of this file.
/*
* h323annexg.h
*
* Implementation of H.323 Annex G using H.501
*
* Open H323 Library
*
* Copyright (c) 2003 Equivalence Pty. Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Open H323 Library.
*
* The Initial Developer of the Original Code is Equivalence Pty. Ltd.
*
* Contributor(s): ______________________________________.
*/
#ifndef OPAL_H323_H323ANNEXG_H
#define OPAL_H323_H323ANNEXG_H
#ifdef P_USE_PRAGMA
#pragma interface
#endif
#include <opal/buildopts.h>
#if OPAL_H501
#include <h323/h323trans.h>
#include <h323/h501pdu.h>
class PASN_Sequence;
class PASN_Choice;
class H323EndPoint;
class H323_AnnexG : public H323Transactor
{
PCLASSINFO(H323_AnnexG, H323Transactor);
public:
enum {
DefaultUdpPort = 2099,
DefaultTcpPort = 2099
};
H323_AnnexG(
H323EndPoint & endpoint,
H323Transport * transport
);
H323_AnnexG(
H323EndPoint & endpoint,
const H323TransportAddress & addr
);
~H323_AnnexG();
void PrintOn(
ostream & strm
) const;
virtual H323TransactionPDU * CreateTransactionPDU() const;
virtual PBoolean HandleTransaction(
const PASN_Object & rawPDU
);
virtual void OnSendingPDU(
PASN_Object & rawPDU
);
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 &);
protected:
void Construct();
};
#endif // OPAL_H501
#endif // OPAL_H323_H323ANNEXG_H
H323_AnnexG::OnReceiveAuthenticationRequest
virtual PBoolean OnReceiveAuthenticationRequest(const H501PDU &pdu, const H501_AuthenticationRequest &pduBody)
H323_AnnexG::OnSendingPDU
virtual void OnSendingPDU(PASN_Object &rawPDU)
H323_AnnexG::OnReceiveDescriptorIDRequest
virtual PBoolean OnReceiveDescriptorIDRequest(const H501PDU &pdu, const H501_DescriptorIDRequest &pduBody)
H323_AnnexG::OnReceiveUsageIndicationRejection
virtual PBoolean OnReceiveUsageIndicationRejection(const H501PDU &pdu, const H501_UsageIndicationRejection &pduBody)
H323_AnnexG::CreateTransactionPDU
virtual H323TransactionPDU * CreateTransactionPDU() const
H323_AnnexG::OnReceiveDescriptorUpdateACK
virtual PBoolean OnReceiveDescriptorUpdateACK(const H501PDU &pdu, const H501_DescriptorUpdateAck &pduBody)
H323_AnnexG::OnReceiveUsageIndicationConfirmation
virtual PBoolean OnReceiveUsageIndicationConfirmation(const H501PDU &pdu, const H501_UsageIndicationConfirmation &pduBody)
H323_AnnexG::OnReceiveDescriptorUpdate
virtual PBoolean OnReceiveDescriptorUpdate(const H501PDU &pdu, const H501_DescriptorUpdate &pduBody)
H323_AnnexG::PrintOn
void PrintOn(ostream &strm) const
H323_AnnexG::Construct
void Construct()
H323_AnnexG::DefaultUdpPort
Definition: h323annexg.h:59
H323_AnnexG
Definition: h323annexg.h:52
buildopts.h
H323_AnnexG::OnReceiveDescriptorIDConfirmation
virtual PBoolean OnReceiveDescriptorIDConfirmation(const H501PDU &pdu, const H501_DescriptorIDConfirmation &pduBody)
OpalTransport
Definition: transports.h:703
H323_AnnexG::~H323_AnnexG
~H323_AnnexG()
H323_AnnexG::HandleTransaction
virtual PBoolean HandleTransaction(const PASN_Object &rawPDU)
H323_AnnexG::OnReceiveRequestInProgress
virtual PBoolean OnReceiveRequestInProgress(const H501PDU &pdu, const H501_RequestInProgress &pduBody)
H323Transactor
Definition: h323trans.h:101
H323_AnnexG::OnReceiveNonStandardConfirmation
virtual PBoolean OnReceiveNonStandardConfirmation(const H501PDU &pdu, const H501_NonStandardConfirmation &pduBody)
H323_AnnexG::OnReceiveValidationRejection
virtual PBoolean OnReceiveValidationRejection(const H501PDU &pdu, const H501_ValidationRejection &pduBody)
H323_AnnexG::OnReceiveUsageRequest
virtual PBoolean OnReceiveUsageRequest(const H501PDU &pdu, const H501_UsageRequest &pduBody)
H323_AnnexG::H323_AnnexG
H323_AnnexG(H323EndPoint &endpoint, H323Transport *transport)
h323trans.h
H323_AnnexG::DefaultTcpPort
Definition: h323annexg.h:60
H323_AnnexG::OnReceiveDescriptorRequest
virtual PBoolean OnReceiveDescriptorRequest(const H501PDU &pdu, const H501_DescriptorRequest &pduBody)
H323_AnnexG::OnReceiveValidationConfirmation
virtual PBoolean OnReceiveValidationConfirmation(const H501PDU &pdu, const H501_ValidationConfirmation &pduBody)
H323_AnnexG::OnReceiveAccessRejection
virtual PBoolean OnReceiveAccessRejection(const H501PDU &pdu, const H501_AccessRejection &pduBody)
H323_AnnexG::OnReceiveUsageRejection
virtual PBoolean OnReceiveUsageRejection(const H501PDU &pdu, const H501_UsageRejection &pduBody)
H323_AnnexG::OnReceiveAccessConfirmation
virtual PBoolean OnReceiveAccessConfirmation(const H501PDU &pdu, const H501_AccessConfirmation &pduBody)
H323_AnnexG::OnReceiveUnknownMessageResponse
virtual PBoolean OnReceiveUnknownMessageResponse(const H501PDU &pdu, const H501_UnknownMessageResponse &pduBody)
H323_AnnexG::OnReceiveDescriptorIDRejection
virtual PBoolean OnReceiveDescriptorIDRejection(const H501PDU &pdu, const H501_DescriptorIDRejection &pduBody)
H323_AnnexG::OnReceiveAuthenticationConfirmation
virtual PBoolean OnReceiveAuthenticationConfirmation(const H501PDU &pdu, const H501_AuthenticationConfirmation &pduBody)
H323_AnnexG::OnReceiveServiceConfirmation
virtual PBoolean OnReceiveServiceConfirmation(const H501PDU &pdu, const H501_ServiceConfirmation &pduBody)
h501pdu.h
H323_AnnexG::OnReceiveServiceRequest
virtual PBoolean OnReceiveServiceRequest(const H501PDU &pdu, const H501_ServiceRequest &pduBody)
H323_AnnexG::OnReceiveDescriptorRejection
virtual PBoolean OnReceiveDescriptorRejection(const H501PDU &pdu, const H501_DescriptorRejection &pduBody)
H323TransactionPDU
Definition: h323trans.h:51
H501PDU
Definition: h501pdu.h:54
H323_AnnexG::OnReceiveDescriptorConfirmation
virtual PBoolean OnReceiveDescriptorConfirmation(const H501PDU &pdu, const H501_DescriptorConfirmation &pduBody)
H323_AnnexG::OnReceiveServiceRelease
virtual PBoolean OnReceiveServiceRelease(const H501PDU &pdu, const H501_ServiceRelease &pduBody)
H323_AnnexG::OnReceiveValidationRequest
virtual PBoolean OnReceiveValidationRequest(const H501PDU &pdu, const H501_ValidationRequest &pduBody)
H323_AnnexG::OnReceiveAuthenticationRejection
virtual PBoolean OnReceiveAuthenticationRejection(const H501PDU &pdu, const H501_AuthenticationRejection &pduBody)
H323_AnnexG::OnReceiveNonStandardRequest
virtual PBoolean OnReceiveNonStandardRequest(const H501PDU &pdu, const H501_NonStandardRequest &pduBody)
H323_AnnexG::OnReceiveUnknown
virtual PBoolean OnReceiveUnknown(const H501PDU &)
H323_AnnexG::OnReceiveAccessRequest
virtual PBoolean OnReceiveAccessRequest(const H501PDU &pdu, const H501_AccessRequest &pduBody)
H323EndPoint
Definition: h323ep.h:85
H323Transactor::endpoint
H323EndPoint & endpoint
Definition: h323trans.h:307
H323_AnnexG::OnReceiveNonStandardRejection
virtual PBoolean OnReceiveNonStandardRejection(const H501PDU &pdu, const H501_NonStandardRejection &pduBody)
H323TransportAddress
Definition: transaddr.h:66
H323_AnnexG::OnReceiveUsageConfirmation
virtual PBoolean OnReceiveUsageConfirmation(const H501PDU &pdu, const H501_UsageConfirmation &pduBody)
H323Transactor::transport
H323Transport * transport
Definition: h323trans.h:310
H323_AnnexG::OnReceiveServiceRejection
virtual PBoolean OnReceiveServiceRejection(const H501PDU &pdu, const H501_ServiceRejection &pduBody)