00001
00002
00003
00004
00005
00006
00007 #ifndef __H46019_H
00008 #define __H46019_H
00009
00010 #ifdef P_USE_PRAGMA
00011 #pragma interface
00012 #endif
00013
00014 #include <opal/buildopts.h>
00015
00016 #if OPAL_H460
00017
00018 #include <ptclib/asner.h>
00019
00020 #include <asn/h225.h>
00021 #include <asn/h245.h>
00022
00023
00024
00025
00026
00027
00028 class H46019_TraversalParameters : public PASN_Sequence
00029 {
00030 #ifndef PASN_LEANANDMEAN
00031 PCLASSINFO(H46019_TraversalParameters, PASN_Sequence);
00032 #endif
00033 public:
00034 H46019_TraversalParameters(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
00035
00036 enum OptionalFields {
00037 e_multiplexedMediaChannel,
00038 e_multiplexedMediaControlChannel,
00039 e_multiplexID,
00040 e_keepAliveChannel,
00041 e_keepAlivePayloadType,
00042 e_keepAliveInterval
00043 };
00044
00045 H245_TransportAddress m_multiplexedMediaChannel;
00046 H245_TransportAddress m_multiplexedMediaControlChannel;
00047 PASN_Integer m_multiplexID;
00048 H245_TransportAddress m_keepAliveChannel;
00049 PASN_Integer m_keepAlivePayloadType;
00050 H225_TimeToLive m_keepAliveInterval;
00051
00052 PINDEX GetDataLength() const;
00053 PBoolean Decode(PASN_Stream & strm);
00054 void Encode(PASN_Stream & strm) const;
00055 #ifndef PASN_NOPRINTON
00056 void PrintOn(ostream & strm) const;
00057 #endif
00058 Comparison Compare(const PObject & obj) const;
00059 PObject * Clone() const;
00060 };
00061
00062
00063 #endif // OPAL_H460
00064
00065 #endif // __H46019_H
00066
00067
00068