00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef OPAL_T120_T120PROTO_H
00032 #define OPAL_T120_T120PROTO_H
00033
00034 #ifdef P_USE_PRAGMA
00035 #pragma interface
00036 #endif
00037
00038 #include <opal/buildopts.h>
00039
00040 #if OPAL_T120DATA
00041
00042 #include <opal/mediafmt.h>
00043
00044
00045 class OpalTransport;
00046
00047 class X224;
00048 class MCS_ConnectMCSPDU;
00049 class MCS_DomainMCSPDU;
00050
00051
00052 #define OPAL_T120 "T.120"
00053
00054
00056
00059 class OpalT120Protocol : public PObject
00060 {
00061 PCLASSINFO(OpalT120Protocol, PObject);
00062 public:
00063 enum {
00064 DefaultTcpPort = 1503
00065 };
00066
00071 OpalT120Protocol();
00073
00078 virtual PBoolean Originate(
00079 OpalTransport & transport
00080 );
00081
00084 virtual PBoolean Answer(
00085 OpalTransport & transport
00086 );
00087
00092 virtual PBoolean HandleConnect(
00093 const MCS_ConnectMCSPDU & pdu
00094 );
00095
00100 virtual PBoolean HandleDomain(
00101 const MCS_DomainMCSPDU & pdu
00102 );
00104 };
00105
00106
00107 #endif // OPAL_T120DATA
00108
00109 #endif // OPAL_T120_T120PROTO_H
00110
00111