OPAL
Version 3.14.3
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
h323h224.h
Go to the documentation of this file.
1
/*
2
* h323h224.h
3
*
4
* H.323 H.224 logical channel establishment implementation for the
5
* OpenH323 Project.
6
*
7
* Copyright (c) 2006 Network for Educational Technology, ETH Zurich.
8
* Written by Hannes Friederich.
9
*
10
* The contents of this file are subject to the Mozilla Public License
11
* Version 1.0 (the "License"); you may not use this file except in
12
* compliance with the License. You may obtain a copy of the License at
13
* http://www.mozilla.org/MPL/
14
*
15
* Software distributed under the License is distributed on an "AS IS"
16
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17
* the License for the specific language governing rights and limitations
18
* under the License.
19
*
20
* Contributor(s): ______________________________________.
21
*
22
* $Revision: 31401 $
23
* $Author: rjongbloed $
24
* $Date: 2014-02-07 17:11:13 +1100 (Fri, 07 Feb 2014) $
25
*/
26
27
#ifndef OPAL_H224_H323H224_H
28
#define OPAL_H224_H323H224_H
29
30
#ifdef P_USE_PRAGMA
31
#pragma interface
32
#endif
33
34
#include <
opal_config.h
>
35
36
#if OPAL_HAS_H281 && OPAL_H323
37
38
#include <
h323/h323caps.h
>
39
40
#include <
h224/h224.h
>
41
#include <
h224/h281.h
>
42
43
46
class
H323_H224_AnnexQCapability
:
public
H323GenericDataCapability
47
{
48
PCLASSINFO_WITH_CLONE(
H323_H224_AnnexQCapability
,
H323GenericDataCapability
);
49
public
:
50
H323_H224_AnnexQCapability
(
const
OpalMediaFormat
& mediaFormat);
51
52
virtual
PString
GetFormatName
()
const
;
53
54
virtual
H323Channel
*
CreateChannel
(
H323Connection
& connection,
55
H323Channel::Directions
direction,
56
unsigned
int
sessionID,
57
const
H245_H2250LogicalChannelParameters * params)
const
;
58
};
59
60
class
H323_FECC_RTP_Capability
:
public
H323_H224_AnnexQCapability
61
{
62
PCLASSINFO_WITH_CLONE(
H323_FECC_RTP_Capability
,
H323_H224_AnnexQCapability
);
63
public
:
64
H323_FECC_RTP_Capability
()
65
:
H323_H224_AnnexQCapability
(
GetOpalFECC_RTP
())
66
{
67
}
68
};
69
70
73
class
H323_H224_HDLCTunnelingCapability
:
public
H323DataCapability
74
{
75
PCLASSINFO_WITH_CLONE(
H323_H224_HDLCTunnelingCapability
,
H323DataCapability
);
76
public
:
77
H323_H224_HDLCTunnelingCapability
(
const
OpalMediaFormat
& mediaFormat);
78
79
virtual
unsigned
GetSubType
()
const
;
80
81
virtual
PString
GetFormatName
()
const
;
82
83
virtual
H323Channel
*
CreateChannel
(
H323Connection
& connection,
84
H323Channel::Directions
direction,
85
unsigned
int
sessionID,
86
const
H245_H2250LogicalChannelParameters * params)
const
;
87
88
virtual
PBoolean
OnSendingPDU
(H245_DataApplicationCapability & pdu)
const
;
89
virtual
PBoolean
OnSendingPDU
(H245_DataMode & pdu)
const
;
90
virtual
PBoolean
OnReceivedPDU
(
const
H245_DataApplicationCapability & pdu);
91
92
};
93
94
class
H323_FECC_HDLC_Capability
:
public
H323_H224_HDLCTunnelingCapability
95
{
96
PCLASSINFO_WITH_CLONE(
H323_FECC_HDLC_Capability
,
H323_H224_HDLCTunnelingCapability
);
97
public
:
98
H323_FECC_HDLC_Capability
()
99
:
H323_H224_HDLCTunnelingCapability
(
GetOpalFECC_HDLC
())
100
{
101
}
102
};
103
104
105
#endif // OPAL_HAS_H281 && OPAL_H323
106
107
#endif // OPAL_H224_H323H224_H
include
h224
h323h224.h
Generated on Fri Oct 10 2014 21:36:58 for OPAL by
1.8.3.1