OPAL
Version 3.14.3
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
h323annexg.h
Go to the documentation of this file.
1
/*
2
* h323annexg.h
3
*
4
* Implementation of H.323 Annex G using H.501
5
*
6
* Open H323 Library
7
*
8
* Copyright (c) 2003 Equivalence Pty. Ltd.
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
* The Original Code is Open H323 Library.
21
*
22
* The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23
*
24
* Contributor(s): ______________________________________.
25
*/
26
27
#ifndef OPAL_H323_H323ANNEXG_H
28
#define OPAL_H323_H323ANNEXG_H
29
30
#ifdef P_USE_PRAGMA
31
#pragma interface
32
#endif
33
34
#include <
opal_config.h
>
35
36
#if OPAL_H501
37
38
#include <
h323/h323trans.h
>
39
#include <
h323/h501pdu.h
>
40
41
42
class
PASN_Sequence;
43
class
PASN_Choice;
44
45
class
H323EndPoint
;
46
47
49
52
class
H323_AnnexG
:
public
H323Transactor
53
{
54
PCLASSINFO(
H323_AnnexG
,
H323Transactor
);
55
public
:
58
enum
{
59
DefaultUdpPort
= 2099,
60
DefaultTcpPort
= 2099
61
};
62
65
H323_AnnexG
(
66
H323EndPoint
&
endpoint
,
67
H323Transport
*
transport
68
);
69
H323_AnnexG
(
70
H323EndPoint
&
endpoint
,
71
const
H323TransportAddress
& addr
72
);
73
76
~H323_AnnexG
();
78
83
void
PrintOn
(
84
ostream & strm
85
)
const
;
87
92
virtual
H323TransactionPDU
*
CreateTransactionPDU
()
const
;
93
96
virtual
PBoolean
HandleTransaction
(
97
const
PASN_Object & rawPDU
98
);
99
102
virtual
void
OnSendingPDU
(
103
PASN_Object & rawPDU
104
);
106
109
virtual
PBoolean
OnReceiveServiceRequest
(
const
H501PDU
& pdu,
const
H501_ServiceRequest & pduBody);
110
virtual
PBoolean
OnReceiveServiceConfirmation
(
const
H501PDU
& pdu,
const
H501_ServiceConfirmation & pduBody);
111
virtual
PBoolean
OnReceiveServiceRejection
(
const
H501PDU
& pdu,
const
H501_ServiceRejection & pduBody);
112
virtual
PBoolean
OnReceiveServiceRelease
(
const
H501PDU
& pdu,
const
H501_ServiceRelease & pduBody);
113
virtual
PBoolean
OnReceiveDescriptorRequest
(
const
H501PDU
& pdu,
const
H501_DescriptorRequest & pduBody);
114
virtual
PBoolean
OnReceiveDescriptorConfirmation
(
const
H501PDU
& pdu,
const
H501_DescriptorConfirmation & pduBody);
115
virtual
PBoolean
OnReceiveDescriptorRejection
(
const
H501PDU
& pdu,
const
H501_DescriptorRejection & pduBody);
116
virtual
PBoolean
OnReceiveDescriptorIDRequest
(
const
H501PDU
& pdu,
const
H501_DescriptorIDRequest & pduBody);
117
virtual
PBoolean
OnReceiveDescriptorIDConfirmation
(
const
H501PDU
& pdu,
const
H501_DescriptorIDConfirmation & pduBody);
118
virtual
PBoolean
OnReceiveDescriptorIDRejection
(
const
H501PDU
& pdu,
const
H501_DescriptorIDRejection & pduBody);
119
virtual
PBoolean
OnReceiveDescriptorUpdate
(
const
H501PDU
& pdu,
const
H501_DescriptorUpdate & pduBody);
120
virtual
PBoolean
OnReceiveDescriptorUpdateACK
(
const
H501PDU
& pdu,
const
H501_DescriptorUpdateAck & pduBody);
121
virtual
PBoolean
OnReceiveAccessRequest
(
const
H501PDU
& pdu,
const
H501_AccessRequest & pduBody);
122
virtual
PBoolean
OnReceiveAccessConfirmation
(
const
H501PDU
& pdu,
const
H501_AccessConfirmation & pduBody);
123
virtual
PBoolean
OnReceiveAccessRejection
(
const
H501PDU
& pdu,
const
H501_AccessRejection & pduBody);
124
virtual
PBoolean
OnReceiveRequestInProgress
(
const
H501PDU
& pdu,
const
H501_RequestInProgress & pduBody);
125
virtual
PBoolean
OnReceiveNonStandardRequest
(
const
H501PDU
& pdu,
const
H501_NonStandardRequest & pduBody);
126
virtual
PBoolean
OnReceiveNonStandardConfirmation
(
const
H501PDU
& pdu,
const
H501_NonStandardConfirmation & pduBody);
127
virtual
PBoolean
OnReceiveNonStandardRejection
(
const
H501PDU
& pdu,
const
H501_NonStandardRejection & pduBody);
128
virtual
PBoolean
OnReceiveUnknownMessageResponse
(
const
H501PDU
& pdu,
const
H501_UnknownMessageResponse & pduBody);
129
virtual
PBoolean
OnReceiveUsageRequest
(
const
H501PDU
& pdu,
const
H501_UsageRequest & pduBody);
130
virtual
PBoolean
OnReceiveUsageConfirmation
(
const
H501PDU
& pdu,
const
H501_UsageConfirmation & pduBody);
131
virtual
PBoolean
OnReceiveUsageIndicationConfirmation
(
const
H501PDU
& pdu,
const
H501_UsageIndicationConfirmation & pduBody);
132
virtual
PBoolean
OnReceiveUsageIndicationRejection
(
const
H501PDU
& pdu,
const
H501_UsageIndicationRejection & pduBody);
133
virtual
PBoolean
OnReceiveUsageRejection
(
const
H501PDU
& pdu,
const
H501_UsageRejection & pduBody);
134
virtual
PBoolean
OnReceiveValidationRequest
(
const
H501PDU
& pdu,
const
H501_ValidationRequest & pduBody);
135
virtual
PBoolean
OnReceiveValidationConfirmation
(
const
H501PDU
& pdu,
const
H501_ValidationConfirmation & pduBody);
136
virtual
PBoolean
OnReceiveValidationRejection
(
const
H501PDU
& pdu,
const
H501_ValidationRejection & pduBody);
137
virtual
PBoolean
OnReceiveAuthenticationRequest
(
const
H501PDU
& pdu,
const
H501_AuthenticationRequest & pduBody);
138
virtual
PBoolean
OnReceiveAuthenticationConfirmation
(
const
H501PDU
& pdu,
const
H501_AuthenticationConfirmation & pduBody);
139
virtual
PBoolean
OnReceiveAuthenticationRejection
(
const
H501PDU
& pdu,
const
H501_AuthenticationRejection & pduBody);
140
virtual
PBoolean
OnReceiveUnknown
(
const
H501PDU
&);
141
142
protected
:
143
void
Construct
();
144
};
145
146
147
#endif // OPAL_H501
148
149
#endif // OPAL_H323_H323ANNEXG_H
150
151
include
h323
h323annexg.h
Generated on Fri Oct 10 2014 21:36:57 for OPAL by
1.8.3.1