cisco-h225.h 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. //
  2. // cisco-h225.h
  3. //
  4. // Code automatically generated by asnparse.
  5. //
  6. #if ! H323_DISABLE_CISCO_H225
  7. #ifndef __CISCO_H225_H
  8. #define __CISCO_H225_H
  9. #ifdef P_USE_PRAGMA
  10. #pragma interface
  11. #endif
  12. #include <ptclib/asner.h>
  13. #include "ast_ptlib.h"
  14. //
  15. // RedirectIEinfo
  16. //
  17. class CISCO_H225_RedirectIEinfo : public PASN_Sequence
  18. {
  19. #ifndef PASN_LEANANDMEAN
  20. PCLASSINFO(CISCO_H225_RedirectIEinfo, PASN_Sequence);
  21. #endif
  22. public:
  23. CISCO_H225_RedirectIEinfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  24. PASN_OctetString m_redirectIE;
  25. PINDEX GetDataLength() const;
  26. PBoolean Decode(PASN_Stream & strm);
  27. void Encode(PASN_Stream & strm) const;
  28. #ifndef PASN_NOPRINTON
  29. void PrintOn(ostream & strm) const;
  30. #endif
  31. Comparison Compare(const PObject & obj) const;
  32. PObject * Clone() const;
  33. };
  34. //
  35. // ProgIndIEinfo
  36. //
  37. class CISCO_H225_ProgIndIEinfo : public PASN_Sequence
  38. {
  39. #ifndef PASN_LEANANDMEAN
  40. PCLASSINFO(CISCO_H225_ProgIndIEinfo, PASN_Sequence);
  41. #endif
  42. public:
  43. CISCO_H225_ProgIndIEinfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  44. PASN_OctetString m_progIndIE;
  45. PINDEX GetDataLength() const;
  46. PBoolean Decode(PASN_Stream & strm);
  47. void Encode(PASN_Stream & strm) const;
  48. #ifndef PASN_NOPRINTON
  49. void PrintOn(ostream & strm) const;
  50. #endif
  51. Comparison Compare(const PObject & obj) const;
  52. PObject * Clone() const;
  53. };
  54. //
  55. // QsigNonStdInfo
  56. //
  57. class CISCO_H225_QsigNonStdInfo : public PASN_Sequence
  58. {
  59. #ifndef PASN_LEANANDMEAN
  60. PCLASSINFO(CISCO_H225_QsigNonStdInfo, PASN_Sequence);
  61. #endif
  62. public:
  63. CISCO_H225_QsigNonStdInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  64. PASN_Integer m_iei;
  65. PASN_OctetString m_rawMesg;
  66. PINDEX GetDataLength() const;
  67. PBoolean Decode(PASN_Stream & strm);
  68. void Encode(PASN_Stream & strm) const;
  69. #ifndef PASN_NOPRINTON
  70. void PrintOn(ostream & strm) const;
  71. #endif
  72. Comparison Compare(const PObject & obj) const;
  73. PObject * Clone() const;
  74. };
  75. //
  76. // CallMgrParam
  77. //
  78. class CISCO_H225_CallMgrParam : public PASN_Sequence
  79. {
  80. #ifndef PASN_LEANANDMEAN
  81. PCLASSINFO(CISCO_H225_CallMgrParam, PASN_Sequence);
  82. #endif
  83. public:
  84. CISCO_H225_CallMgrParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  85. PASN_Integer m_interclusterVersion;
  86. PASN_OctetString m_enterpriseID;
  87. PINDEX GetDataLength() const;
  88. PBoolean Decode(PASN_Stream & strm);
  89. void Encode(PASN_Stream & strm) const;
  90. #ifndef PASN_NOPRINTON
  91. void PrintOn(ostream & strm) const;
  92. #endif
  93. Comparison Compare(const PObject & obj) const;
  94. PObject * Clone() const;
  95. };
  96. //
  97. // CallPreserveParam
  98. //
  99. class CISCO_H225_CallPreserveParam : public PASN_Sequence
  100. {
  101. #ifndef PASN_LEANANDMEAN
  102. PCLASSINFO(CISCO_H225_CallPreserveParam, PASN_Sequence);
  103. #endif
  104. public:
  105. CISCO_H225_CallPreserveParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  106. PASN_Boolean m_callPreserveIE;
  107. PINDEX GetDataLength() const;
  108. PBoolean Decode(PASN_Stream & strm);
  109. void Encode(PASN_Stream & strm) const;
  110. #ifndef PASN_NOPRINTON
  111. void PrintOn(ostream & strm) const;
  112. #endif
  113. Comparison Compare(const PObject & obj) const;
  114. PObject * Clone() const;
  115. };
  116. //
  117. // CallSignallingParam
  118. //
  119. class CISCO_H225_CallSignallingParam : public PASN_Sequence
  120. {
  121. #ifndef PASN_LEANANDMEAN
  122. PCLASSINFO(CISCO_H225_CallSignallingParam, PASN_Sequence);
  123. #endif
  124. public:
  125. CISCO_H225_CallSignallingParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  126. enum OptionalFields {
  127. e_connectedNumber
  128. };
  129. PASN_OctetString m_connectedNumber;
  130. PINDEX GetDataLength() const;
  131. PBoolean Decode(PASN_Stream & strm);
  132. void Encode(PASN_Stream & strm) const;
  133. #ifndef PASN_NOPRINTON
  134. void PrintOn(ostream & strm) const;
  135. #endif
  136. Comparison Compare(const PObject & obj) const;
  137. PObject * Clone() const;
  138. };
  139. //
  140. // CommonParam
  141. //
  142. class CISCO_H225_CommonParam : public PASN_Sequence
  143. {
  144. #ifndef PASN_LEANANDMEAN
  145. PCLASSINFO(CISCO_H225_CommonParam, PASN_Sequence);
  146. #endif
  147. public:
  148. CISCO_H225_CommonParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  149. CISCO_H225_RedirectIEinfo m_redirectIEinfo;
  150. PINDEX GetDataLength() const;
  151. PBoolean Decode(PASN_Stream & strm);
  152. void Encode(PASN_Stream & strm) const;
  153. #ifndef PASN_NOPRINTON
  154. void PrintOn(ostream & strm) const;
  155. #endif
  156. Comparison Compare(const PObject & obj) const;
  157. PObject * Clone() const;
  158. };
  159. //
  160. // ProgIndParam
  161. //
  162. class CISCO_H225_ProgIndParam : public PASN_Sequence
  163. {
  164. #ifndef PASN_LEANANDMEAN
  165. PCLASSINFO(CISCO_H225_ProgIndParam, PASN_Sequence);
  166. #endif
  167. public:
  168. CISCO_H225_ProgIndParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  169. CISCO_H225_ProgIndIEinfo m_progIndIEinfo;
  170. PINDEX GetDataLength() const;
  171. PBoolean Decode(PASN_Stream & strm);
  172. void Encode(PASN_Stream & strm) const;
  173. #ifndef PASN_NOPRINTON
  174. void PrintOn(ostream & strm) const;
  175. #endif
  176. Comparison Compare(const PObject & obj) const;
  177. PObject * Clone() const;
  178. };
  179. //
  180. // ProtoParam
  181. //
  182. class CISCO_H225_ProtoParam : public PASN_Sequence
  183. {
  184. #ifndef PASN_LEANANDMEAN
  185. PCLASSINFO(CISCO_H225_ProtoParam, PASN_Sequence);
  186. #endif
  187. public:
  188. CISCO_H225_ProtoParam(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  189. CISCO_H225_QsigNonStdInfo m_qsigNonStdInfo;
  190. PINDEX GetDataLength() const;
  191. PBoolean Decode(PASN_Stream & strm);
  192. void Encode(PASN_Stream & strm) const;
  193. #ifndef PASN_NOPRINTON
  194. void PrintOn(ostream & strm) const;
  195. #endif
  196. Comparison Compare(const PObject & obj) const;
  197. PObject * Clone() const;
  198. };
  199. //
  200. // H323_UU_NonStdInfo
  201. //
  202. class CISCO_H225_H323_UU_NonStdInfo : public PASN_Sequence
  203. {
  204. #ifndef PASN_LEANANDMEAN
  205. PCLASSINFO(CISCO_H225_H323_UU_NonStdInfo, PASN_Sequence);
  206. #endif
  207. public:
  208. CISCO_H225_H323_UU_NonStdInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
  209. enum OptionalFields {
  210. e_version,
  211. e_protoParam,
  212. e_commonParam,
  213. e_dummy1,
  214. e_progIndParam,
  215. e_callMgrParam,
  216. e_callSignallingParam,
  217. e_dummy2,
  218. e_callPreserveParam
  219. };
  220. PASN_Integer m_version;
  221. CISCO_H225_ProtoParam m_protoParam;
  222. CISCO_H225_CommonParam m_commonParam;
  223. PASN_OctetString m_dummy1;
  224. CISCO_H225_ProgIndParam m_progIndParam;
  225. CISCO_H225_CallMgrParam m_callMgrParam;
  226. CISCO_H225_CallSignallingParam m_callSignallingParam;
  227. PASN_OctetString m_dummy2;
  228. CISCO_H225_CallPreserveParam m_callPreserveParam;
  229. PINDEX GetDataLength() const;
  230. PBoolean Decode(PASN_Stream & strm);
  231. void Encode(PASN_Stream & strm) const;
  232. #ifndef PASN_NOPRINTON
  233. void PrintOn(ostream & strm) const;
  234. #endif
  235. Comparison Compare(const PObject & obj) const;
  236. PObject * Clone() const;
  237. };
  238. #endif // __CISCO_H225_H
  239. #endif // if ! H323_DISABLE_CISCO_H225
  240. // End of cisco-h225.h