h323h224.h
Go to the documentation of this file.
/*
* h323h224.h
*
* H.323 H.224 logical channel establishment implementation for the
* OpenH323 Project.
*
* Copyright (c) 2006 Network for Educational Technology, ETH Zurich.
* Written by Hannes Friederich.
*
* 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.
*
* Contributor(s): ______________________________________.
*
* $Revision: 22709 $
* $Author: rjongbloed $
* $Date: 2009-05-24 19:39:16 -0500 (Sun, 24 May 2009) $
*/
#ifndef OPAL_H224_H323H224_H
#define OPAL_H224_H323H224_H
#ifdef P_USE_PRAGMA
#pragma interface
#endif
#include <opal/buildopts.h>
#if OPAL_HAS_H224
#if OPAL_H323
#include <h323/h323caps.h>
#include <h224/h224.h>
#include <h224/h224handler.h>
class H323_H224_AnnexQCapability : public H323DataCapability
{
PCLASSINFO(H323_H224_AnnexQCapability, H323DataCapability);
public:
H323_H224_AnnexQCapability();
~H323_H224_AnnexQCapability();
Comparison Compare(const PObject & obj) const;
virtual PObject * Clone() const;
virtual unsigned GetSubType() const;
virtual PString GetFormatName() const;
virtual H323Channel * CreateChannel(H323Connection & connection,
H323Channel::Directions direction,
unsigned int sessionID,
const H245_H2250LogicalChannelParameters * params) const;
virtual PBoolean OnSendingPDU(H245_DataApplicationCapability & pdu) const;
virtual PBoolean OnSendingPDU(H245_DataMode & pdu) const;
virtual PBoolean OnReceivedPDU(const H245_DataApplicationCapability & pdu);
};
class H323_H224_HDLCTunnelingCapability : public H323DataCapability
{
PCLASSINFO(H323_H224_HDLCTunnelingCapability, H323DataCapability);
public:
H323_H224_HDLCTunnelingCapability();
~H323_H224_HDLCTunnelingCapability();
Comparison Compare(const PObject & obj) const;
virtual PObject * Clone() const;
virtual unsigned GetSubType() const;
virtual PString GetFormatName() const;
virtual H323Channel * CreateChannel(H323Connection & connection,
H323Channel::Directions direction,
unsigned int sessionID,
const H245_H2250LogicalChannelParameters * params) const;
virtual PBoolean OnSendingPDU(H245_DataApplicationCapability & pdu) const;
virtual PBoolean OnSendingPDU(H245_DataMode & pdu) const;
virtual PBoolean OnReceivedPDU(const H245_DataApplicationCapability & pdu);
};
#define OPAL_REGISTER_H224_CAPABILITY() \
H323_REGISTER_CAPABILITY(H323_H224_AnnexQCapability, GetOpalH224_H323AnnexQ().GetName()); \
H323_REGISTER_CAPABILITY(H323_H224_HDLCTunnelingCapability, GetOpalH224_HDLCTunneling().GetName()); \
#endif // OPAL_H323
#endif // OPAL_HAS_H224
#endif // OPAL_H224_H323H224_H
H323_H224_HDLCTunnelingCapability
Definition: h323h224.h:77
H323_H224_HDLCTunnelingCapability::OnSendingPDU
virtual PBoolean OnSendingPDU(H245_DataApplicationCapability &pdu) const
H323_H224_AnnexQCapability::Compare
Comparison Compare(const PObject &obj) const
H323_H224_HDLCTunnelingCapability::GetSubType
virtual unsigned GetSubType() const
buildopts.h
H323_H224_HDLCTunnelingCapability::GetFormatName
virtual PString GetFormatName() const
h323caps.h
H323Channel::Directions
Directions
Definition: channels.h:129
H323_H224_HDLCTunnelingCapability::Compare
Comparison Compare(const PObject &obj) const
H323_H224_AnnexQCapability::GetFormatName
virtual PString GetFormatName() const
H323_H224_AnnexQCapability
Definition: h323h224.h:47
H323_H224_AnnexQCapability::Clone
virtual PObject * Clone() const
H323_H224_AnnexQCapability::H323_H224_AnnexQCapability
H323_H224_AnnexQCapability()
H323_H224_AnnexQCapability::CreateChannel
virtual H323Channel * CreateChannel(H323Connection &connection, H323Channel::Directions direction, unsigned int sessionID, const H245_H2250LogicalChannelParameters *params) const
H323_H224_HDLCTunnelingCapability::H323_H224_HDLCTunnelingCapability
H323_H224_HDLCTunnelingCapability()
H323Channel
Definition: channels.h:99
h224handler.h
H323_H224_HDLCTunnelingCapability::Clone
virtual PObject * Clone() const
H323_H224_HDLCTunnelingCapability::~H323_H224_HDLCTunnelingCapability
~H323_H224_HDLCTunnelingCapability()
H323DataCapability
Definition: h323caps.h:1584
H323Connection
Definition: h323con.h:130
H323_H224_AnnexQCapability::GetSubType
virtual unsigned GetSubType() const
H323_H224_AnnexQCapability::OnSendingPDU
virtual PBoolean OnSendingPDU(H245_DataApplicationCapability &pdu) const
H323_H224_AnnexQCapability::OnReceivedPDU
virtual PBoolean OnReceivedPDU(const H245_DataApplicationCapability &pdu)
H323_H224_AnnexQCapability::~H323_H224_AnnexQCapability
~H323_H224_AnnexQCapability()
H323_H224_HDLCTunnelingCapability::OnReceivedPDU
virtual PBoolean OnReceivedPDU(const H245_DataApplicationCapability &pdu)
H323_H224_HDLCTunnelingCapability::CreateChannel
virtual H323Channel * CreateChannel(H323Connection &connection, H323Channel::Directions direction, unsigned int sessionID, const H245_H2250LogicalChannelParameters *params) const
h224.h