OPAL  Version 3.18.8
t120proto.h
Go to the documentation of this file.
1 /*
2  * t120proto.h
3  *
4  * T.120 protocol handler
5  *
6  * Open Phone Abstraction Library
7  *
8  * Copyright (c) 2001 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 
28 #ifndef OPAL_T120_T120PROTO_H
29 #define OPAL_T120_T120PROTO_H
30 
31 #ifdef P_USE_PRAGMA
32 #pragma interface
33 #endif
34 
35 #include <opal_config.h>
36 
37 #if OPAL_T120DATA
38 
39 #include <opal/mediafmt.h>
40 
41 
42 class OpalTransport;
43 
44 class X224;
45 class MCS_ConnectMCSPDU;
46 class MCS_DomainMCSPDU;
47 
48 
49 #define OPAL_T120 "T.120"
50 
51 
53 
56 class OpalT120Protocol : public PObject
57 {
58  PCLASSINFO(OpalT120Protocol, PObject);
59  public:
60  enum {
62  };
63 
70 
75  virtual PBoolean Originate(
76  OpalTransport & transport
77  );
78 
81  virtual PBoolean Answer(
82  OpalTransport & transport
83  );
84 
89  virtual PBoolean HandleConnect(
90  const MCS_ConnectMCSPDU & pdu
91  );
92 
97  virtual PBoolean HandleDomain(
98  const MCS_DomainMCSPDU & pdu
99  );
101 };
102 
103 
104 #endif // OPAL_T120DATA
105 
106 #endif // OPAL_T120_T120PROTO_H
107 
108 
virtual PBoolean Answer(OpalTransport &transport)
Definition: t120proto.h:56
virtual PBoolean HandleConnect(const MCS_ConnectMCSPDU &pdu)
Definition: transports.h:788
Definition: t120proto.h:61
virtual PBoolean HandleDomain(const MCS_DomainMCSPDU &pdu)
Definition: x224.h:45
virtual PBoolean Originate(OpalTransport &transport)