VXIclientConfig.h
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:7k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. /****************License************************************************
  2.  * Vocalocity OpenVXI
  3.  * Copyright (C) 2004-2005 by Vocalocity, Inc. All Rights Reserved.
  4.  * This program is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU General Public License
  6.  * as published by the Free Software Foundation; either version 2
  7.  * of the License, or (at your option) any later version.
  8.  *  
  9.  * This program is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  * GNU General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU General Public License
  15.  * along with this program; if not, write to the Free Software
  16.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17.  * Vocalocity, the Vocalocity logo, and VocalOS are trademarks or 
  18.  * registered trademarks of Vocalocity, Inc. 
  19.  * OpenVXI is a trademark of Scansoft, Inc. and used under license 
  20.  * by Vocalocity.
  21.  ***********************************************************************/
  22. #ifndef _VXICLIENT_CONFIG_H
  23. #define _VXICLIENT_CONFIG_H
  24. /**
  25.   @name VXIclient properties
  26.   @memo Definition of properties used by testClient
  27.   @version 1.0 <br>
  28.   @doc Collection of properties for each of the components used in the
  29.   OpenSpeech Browser.  These properites are used by testClient and are
  30.   read from the configuration file.
  31. */
  32. /*@{*/
  33. #define CLIENT_CURRENT_NUMCALL         L"client.current.numCall"
  34. /**
  35.   @name Recognizer implementation keys
  36.   @memo Keys for the Recognizer implementation that effects dynamic library
  37.  */
  38. /*@{*/
  39. #define CLIENT_REC_IMPLEMENTATION         L"client.rec.implementation"
  40. /*@}*/
  41. /**
  42.   @name Prompt implementation keys
  43.   @memo Keys for the Prompt implementation that effects dynamic library
  44.  */
  45. /*@{*/
  46. #define CLIENT_PROMPT_IMPLEMENTATION      L"client.prompt.implementation"
  47. /*@}*/
  48. /**
  49.   @name Tel. implementation keys
  50.   @memo Keys for the Tel. implementation that effects dynamic library
  51.  */
  52. /*@{*/
  53. #define CLIENT_TEL_IMPLEMENTATION         L"client.tel.implementation"
  54. /*@}*/
  55. /**
  56.   @name TRD keys
  57.   @memo Keys for the TRD utilities library configuration
  58.  */
  59. /*@{*/
  60. #define CLIENT_TRD_THREAD_STACKSIZE       L"client.trd.threadStackSize"
  61. /*@}*/
  62. /**
  63.   @name INET keys
  64.   @memo Keys for the INET configuration 
  65.   @version 1.0
  66.   @doc Properties read from the configuration file used to
  67.   configure SBinet.
  68.  */
  69. /*@{*/
  70. #define CLIENT_INET_PROXY_SERVER               L"client.inet.proxyServer"
  71. #define CLIENT_INET_PROXY_PORT                 L"client.inet.proxyPort"
  72. #define CLIENT_INET_PROXY_RULES                L"client.inet.proxyRules"
  73. #define CLIENT_INET_PROXY_RULE_PREFIX          L"client.inet.proxyRule."
  74. #define CLIENT_INET_EXTENSION_RULES            L"client.inet.extensionRules"
  75. #define CLIENT_INET_EXTENSION_RULE_PREFIX      L"client.inet.extensionRule."
  76. #define CLIENT_INET_USER_AGENT                 L"client.inet.userAgent"
  77. #define CLIENT_INET_ACCEPT_COOKIES             L"client.inet.acceptCookies"
  78. /*@}*/
  79. #define OSR_USE_INTERNAL_SBINET                L"com.vocalocity.osr.use.sbinet"
  80. /**
  81.  @name Cache Keys
  82.  @memo Keys for the Cache configuration
  83.  */
  84. /*@{*/
  85. #define CLIENT_CACHE_CACHE_DIR                 L"client.cache.cacheDir"
  86. #define CLIENT_CACHE_CACHE_TOTAL_SIZE_MB       L"client.cache.cacheTotalSizeMB"
  87. #define CLIENT_CACHE_CACHE_ENTRY_MAX_SIZE_MB   L"client.cache.cacheEntryMaxSizeMB"
  88. #define CLIENT_CACHE_CACHE_ENTRY_EXP_TIME_SEC  L"client.cache.cacheEntryExpTimeSec"
  89. #define CLIENT_CACHE_UNLOCK_ENTRIES            L"client.cache.unlockEntries"
  90. #define CLIENT_CACHE_CACHE_LOW_WATER_MARK_MB   L"client.cache.cacheLowWaterMarkMB"
  91. /*@}*/
  92. /**
  93.   @name JSI Keys
  94.   @memo Keys for the ECMAScript interface
  95.  */
  96. /*@{*/
  97. #define CLIENT_JSI_RUNTIME_SIZE_BYTES          L"client.jsi.runtimeSizeBytes"
  98. #define CLIENT_JSI_CONTEXT_SIZE_BYTES          L"client.jsi.contextSizeBytes"
  99. #define CLIENT_JSI_MAX_BRANCHES                L"client.jsi.maxBranches"
  100. #define CLIENT_JSI_GLOBAL_SCRIPT_FILE          L"client.jsi.globalScriptFile"
  101. /*@}*/
  102. /**
  103.   @name Prompt Keys
  104.   @memo Keys for the prompt interface
  105.  */
  106. /*@{*/
  107. #define CLIENT_PROMPT_RESOURCES                L"client.prompt.resources"
  108. #define CLIENT_PROMPT_RESOURCE_PREFIX          L"client.prompt.resource."
  109. #define CLIENT_PROMPT_CACHE                    L"client.prompt.enableCache"
  110. /*@}*/
  111. /**
  112.   @name Recognizer Keys
  113.   @memo Keys for the recognition interface
  114.  */
  115. /*@{*/
  116. #define CLIENT_REC_INIT_URI                    L"client.rec.initURI"
  117. /*@}*/
  118. /**
  119.   @name VXI keys
  120.   @memo Keys for the VXI interface
  121.   */
  122. /*@{*/
  123. #define CLIENT_VXI_BEEP_URI                    L"client.vxi.beepURI"
  124. #define CLIENT_VXI_DEFAULTS_URI                L"client.vxi.defaultsURI"
  125. /*@}*/
  126. /**
  127.   @name Log keys
  128.   @memo Keys for the Log interface
  129.  */
  130. /*@{*/
  131. #define CLIENT_LOG_FILE_NAME                L"client.log.filename"
  132. #define CLIENT_LOG_FILE_MIME_TYPE           L"client.log.fileMimeType"
  133. #define CLIENT_LOG_MAX_SIZE_MB              L"client.log.maxLogSizeMB"
  134. #define CLIENT_LOG_CONTENT_DIR              L"client.log.contentDir"
  135. #define CLIENT_LOG_CONTENT_TOTAL_SIZE_MB    L"client.log.contentTotalSizeMB"
  136. #define CLIENT_LOG_DIAG_TAG_KEY_PREFIX      L"client.log.diagTag."
  137. #define CLIENT_LOG_LOG_TO_STDOUT            L"client.log.logToStdout"
  138. #define CLIENT_LOG_KEEP_LOG_FILE_OPEN       L"client.log.keepLogFileOpen"
  139. #define CLIENT_LOG_REPORT_ERROR_TEXT        L"client.log.reportErrorText"
  140. #define CLIENT_LOG_ERROR_MAP_FILES          L"client.log.errorMapFiles"
  141. #define CLIENT_LOG_ERROR_MAP_FILE_PREFIX    L"client.log.errorMapFile."
  142. /*@}*/
  143. /**
  144.   @name session connection keys
  145.   @memo Keys for the session connection
  146.  */
  147. /*@{*/
  148. #define CLIENT_SESSION_CONNECTION_LOCAL_URI         L"client.session.connection.local.uri"
  149. #define CLIENT_SESSION_CONNECTION_REMOTE_URI        L"client.session.connection.remote.uri"
  150. #define CLIENT_SESSION_CONNECTION_PROTOCOL_NAME     L"client.session.connection.protocol.name"
  151. #define CLIENT_SESSION_CONNECTION_PROTOCOL_VERSION  L"client.session.connection.protocol.version"
  152. #define CLIENT_SESSION_CONNECTION_AAI               L"client.session.connection.aai"
  153. #define CLIENT_SESSION_CONNECTION_ORIGINATOR        L"client.session.connection.originator"
  154. #define CLIENT_SESSION_CONNECTION_REDIRECT_DOT      L"client.session.connection.redirect."
  155. /*@}*/
  156. /**
  157.   @name Diagnostic Tag keys
  158.   @memo Base diagnostic tag offset for each interface.
  159.   @doc The value for these keys controls the tags numbers that must be
  160.   turned on to get diagnostic output.
  161.  */
  162. /*@{*/
  163. #define CLIENT_HW_DIAG_BASE                 L"client.hw.diagLogBase"
  164. #define CLIENT_AUDIO_DIAG_BASE              L"client.audio.diagLogBase"
  165. #define CLIENT_CACHE_DIAG_BASE              L"client.cache.diagLogBase"
  166. #define CLIENT_INET_DIAG_BASE               L"client.inet.diagLogBase"
  167. #define CLIENT_JSI_DIAG_BASE                L"client.jsi.diagLogBase"
  168. #define CLIENT_OBJ_DIAG_BASE                L"client.object.diagLogBase"
  169. #define CLIENT_PROMPT_DIAG_BASE             L"client.prompt.diagLogBase"
  170. #define CLIENT_REC_DIAG_BASE                L"client.rec.diagLogBase"
  171. #define CLIENT_TEL_DIAG_BASE                L"client.tel.diagLogBase"
  172. #define CLIENT_VXI_DIAG_BASE                L"client.vxi.diagLogBase"
  173. #define CLIENT_CLIENT_DIAG_BASE             L"client.client.diagLogBase"
  174. /*@}*/
  175. #endif /* include guard */