11 from sys
import version_info
12 if version_info >= (2, 6, 0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_BotSenseCore', [dirname(__file__)])
24 _mod = imp.load_module(
'_BotSenseCore', fp, pathname, description)
28 _BotSenseCore = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
39 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
40 if (name ==
"thisown"):
41 return self.this.own(value)
43 if type(value).__name__ ==
'SwigPyObject':
44 self.__dict__[name] = value
46 method = class_type.__swig_setmethods__.get(name,
None)
48 return method(self, value)
51 object.__setattr__(self, name, value)
53 self.__dict__[name] = value
55 raise AttributeError(
"You cannot add attributes to %s" % self)
58 def _swig_setattr(self, class_type, name, value):
59 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
62 def _swig_getattr_nondynamic(self, class_type, name, static=1):
63 if (name ==
"thisown"):
64 return self.this.own()
65 method = class_type.__swig_getmethods__.get(name,
None)
69 return object.__getattr__(self, name)
71 raise AttributeError(name)
73 def _swig_getattr(self, class_type, name):
74 return _swig_getattr_nondynamic(self, class_type, name, 0)
79 strthis =
"proxy of " + self.this.__repr__()
82 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
87 except AttributeError:
94 _BotSenseCore.BS_OK_swigconstant(_BotSenseCore)
95 BS_OK = _BotSenseCore.BS_OK
97 _BotSenseCore.BS_ECODE_GEN_swigconstant(_BotSenseCore)
98 BS_ECODE_GEN = _BotSenseCore.BS_ECODE_GEN
100 _BotSenseCore.BS_ECODE_BAD_RECV_swigconstant(_BotSenseCore)
101 BS_ECODE_BAD_RECV = _BotSenseCore.BS_ECODE_BAD_RECV
103 _BotSenseCore.BS_ECODE_BAD_SEND_swigconstant(_BotSenseCore)
104 BS_ECODE_BAD_SEND = _BotSenseCore.BS_ECODE_BAD_SEND
106 _BotSenseCore.BS_ECODE_BAD_RESYNC_swigconstant(_BotSenseCore)
107 BS_ECODE_BAD_RESYNC = _BotSenseCore.BS_ECODE_BAD_RESYNC
109 _BotSenseCore.BS_ECODE_MSG_BAD_HDR_swigconstant(_BotSenseCore)
110 BS_ECODE_MSG_BAD_HDR = _BotSenseCore.BS_ECODE_MSG_BAD_HDR
112 _BotSenseCore.BS_ECODE_MSG_FRAG_swigconstant(_BotSenseCore)
113 BS_ECODE_MSG_FRAG = _BotSenseCore.BS_ECODE_MSG_FRAG
115 _BotSenseCore.BS_ECODE_MSG_TOO_BIG_swigconstant(_BotSenseCore)
116 BS_ECODE_MSG_TOO_BIG = _BotSenseCore.BS_ECODE_MSG_TOO_BIG
118 _BotSenseCore.BS_ECODE_BUF_TOO_SMALL_swigconstant(_BotSenseCore)
119 BS_ECODE_BUF_TOO_SMALL = _BotSenseCore.BS_ECODE_BUF_TOO_SMALL
121 _BotSenseCore.BS_ECODE_BAD_MSG_swigconstant(_BotSenseCore)
122 BS_ECODE_BAD_MSG = _BotSenseCore.BS_ECODE_BAD_MSG
124 _BotSenseCore.BS_ECODE_BAD_VAL_swigconstant(_BotSenseCore)
125 BS_ECODE_BAD_VAL = _BotSenseCore.BS_ECODE_BAD_VAL
127 _BotSenseCore.BS_ECODE_MSG_BAD_TID_swigconstant(_BotSenseCore)
128 BS_ECODE_MSG_BAD_TID = _BotSenseCore.BS_ECODE_MSG_BAD_TID
130 _BotSenseCore.BS_ECODE_BAD_VCONN_HND_swigconstant(_BotSenseCore)
131 BS_ECODE_BAD_VCONN_HND = _BotSenseCore.BS_ECODE_BAD_VCONN_HND
133 _BotSenseCore.BS_ECODE_NO_VCONN_swigconstant(_BotSenseCore)
134 BS_ECODE_NO_VCONN = _BotSenseCore.BS_ECODE_NO_VCONN
136 _BotSenseCore.BS_ECODE_UNKNOWN_REQ_swigconstant(_BotSenseCore)
137 BS_ECODE_UNKNOWN_REQ = _BotSenseCore.BS_ECODE_UNKNOWN_REQ
139 _BotSenseCore.BS_ECODE_NO_DEV_swigconstant(_BotSenseCore)
140 BS_ECODE_NO_DEV = _BotSenseCore.BS_ECODE_NO_DEV
142 _BotSenseCore.BS_ECODE_NO_MOD_swigconstant(_BotSenseCore)
143 BS_ECODE_NO_MOD = _BotSenseCore.BS_ECODE_NO_MOD
145 _BotSenseCore.BS_ECODE_BAD_MOD_swigconstant(_BotSenseCore)
146 BS_ECODE_BAD_MOD = _BotSenseCore.BS_ECODE_BAD_MOD
148 _BotSenseCore.BS_ECODE_NO_RSRC_swigconstant(_BotSenseCore)
149 BS_ECODE_NO_RSRC = _BotSenseCore.BS_ECODE_NO_RSRC
151 _BotSenseCore.BS_ECODE_BUSY_swigconstant(_BotSenseCore)
152 BS_ECODE_BUSY = _BotSenseCore.BS_ECODE_BUSY
154 _BotSenseCore.BS_ECODE_TIMEDOUT_swigconstant(_BotSenseCore)
155 BS_ECODE_TIMEDOUT = _BotSenseCore.BS_ECODE_TIMEDOUT
157 _BotSenseCore.BS_ECODE_NO_EXEC_swigconstant(_BotSenseCore)
158 BS_ECODE_NO_EXEC = _BotSenseCore.BS_ECODE_NO_EXEC
160 _BotSenseCore.BS_ECODE_SERVER_CONN_FAIL_swigconstant(_BotSenseCore)
161 BS_ECODE_SERVER_CONN_FAIL = _BotSenseCore.BS_ECODE_SERVER_CONN_FAIL
163 _BotSenseCore.BS_ECODE_SERVER_CONN_DENY_swigconstant(_BotSenseCore)
164 BS_ECODE_SERVER_CONN_DENY = _BotSenseCore.BS_ECODE_SERVER_CONN_DENY
166 _BotSenseCore.BS_ECODE_SERVER_BAD_CLIENT_swigconstant(_BotSenseCore)
167 BS_ECODE_SERVER_BAD_CLIENT = _BotSenseCore.BS_ECODE_SERVER_BAD_CLIENT
169 _BotSenseCore.BS_ECODE_SYS_swigconstant(_BotSenseCore)
170 BS_ECODE_SYS = _BotSenseCore.BS_ECODE_SYS
172 _BotSenseCore.BS_ECODE_INTERNAL_swigconstant(_BotSenseCore)
173 BS_ECODE_INTERNAL = _BotSenseCore.BS_ECODE_INTERNAL
175 _BotSenseCore.BS_ECODE_BADEC_swigconstant(_BotSenseCore)
176 BS_ECODE_BADEC = _BotSenseCore.BS_ECODE_BADEC
178 _BotSenseCore.BS_ECODE_NUMOF_swigconstant(_BotSenseCore)
179 BS_ECODE_NUMOF = _BotSenseCore.BS_ECODE_NUMOF
181 _BotSenseCore.BSPROXY_URI_SCHEME_swigconstant(_BotSenseCore)
182 BSPROXY_URI_SCHEME = _BotSenseCore.BSPROXY_URI_SCHEME
184 _BotSenseCore.BSPROXY_URI_HOSTNAME_DFT_swigconstant(_BotSenseCore)
185 BSPROXY_URI_HOSTNAME_DFT = _BotSenseCore.BSPROXY_URI_HOSTNAME_DFT
187 _BotSenseCore.BSPROXY_LISTEN_PORT_DFT_swigconstant(_BotSenseCore)
188 BSPROXY_LISTEN_PORT_DFT = _BotSenseCore.BSPROXY_LISTEN_PORT_DFT
190 _BotSenseCore.BSPROXY_REG_CLIENT_MAX_swigconstant(_BotSenseCore)
191 BSPROXY_REG_CLIENT_MAX = _BotSenseCore.BSPROXY_REG_CLIENT_MAX
193 _BotSenseCore.BSPROXY_VCONN_CLIENT_MAX_swigconstant(_BotSenseCore)
194 BSPROXY_VCONN_CLIENT_MAX = _BotSenseCore.BSPROXY_VCONN_CLIENT_MAX
196 _BotSenseCore.BSPROXY_MSG_BODY_MAX_swigconstant(_BotSenseCore)
197 BSPROXY_MSG_BODY_MAX = _BotSenseCore.BSPROXY_MSG_BODY_MAX
199 _BotSenseCore.BSPROXY_VCONN_MASK_swigconstant(_BotSenseCore)
200 BSPROXY_VCONN_MASK = _BotSenseCore.BSPROXY_VCONN_MASK
202 _BotSenseCore.BSPROXY_VCONN_UNDEF_swigconstant(_BotSenseCore)
203 BSPROXY_VCONN_UNDEF = _BotSenseCore.BSPROXY_VCONN_UNDEF
205 _BotSenseCore.BSPROXY_VCONN_SERVER_swigconstant(_BotSenseCore)
206 BSPROXY_VCONN_SERVER = _BotSenseCore.BSPROXY_VCONN_SERVER
208 _BotSenseCore.BSPROXY_VCONN_MOD_MIN_swigconstant(_BotSenseCore)
209 BSPROXY_VCONN_MOD_MIN = _BotSenseCore.BSPROXY_VCONN_MOD_MIN
211 _BotSenseCore.BSPROXY_VCONN_MOD_MAX_swigconstant(_BotSenseCore)
212 BSPROXY_VCONN_MOD_MAX = _BotSenseCore.BSPROXY_VCONN_MOD_MAX
214 _BotSenseCore.BSPROXY_VCONN_MOD_NUMOF_swigconstant(_BotSenseCore)
215 BSPROXY_VCONN_MOD_NUMOF = _BotSenseCore.BSPROXY_VCONN_MOD_NUMOF
217 _BotSenseCore.BSPROXY_VCONN_NUMOF_swigconstant(_BotSenseCore)
218 BSPROXY_VCONN_NUMOF = _BotSenseCore.BSPROXY_VCONN_NUMOF
220 _BotSenseCore.BSPROXY_VCONN_MIN_swigconstant(_BotSenseCore)
221 BSPROXY_VCONN_MIN = _BotSenseCore.BSPROXY_VCONN_MIN
223 _BotSenseCore.BSPROXY_VCONN_MAX_swigconstant(_BotSenseCore)
224 BSPROXY_VCONN_MAX = _BotSenseCore.BSPROXY_VCONN_MAX
226 _BotSenseCore.BSPROXY_TID_MIN_swigconstant(_BotSenseCore)
227 BSPROXY_TID_MIN = _BotSenseCore.BSPROXY_TID_MIN
229 _BotSenseCore.BSPROXY_TID_MAX_swigconstant(_BotSenseCore)
230 BSPROXY_TID_MAX = _BotSenseCore.BSPROXY_TID_MAX
232 _BotSenseCore.BSPROXY_TID_NUMOF_swigconstant(_BotSenseCore)
233 BSPROXY_TID_NUMOF = _BotSenseCore.BSPROXY_TID_NUMOF
235 _BotSenseCore.BSPROXY_TID_MASK_swigconstant(_BotSenseCore)
236 BSPROXY_TID_MASK = _BotSenseCore.BSPROXY_TID_MASK
238 _BotSenseCore.BSPROXY_MSGID_NUMOF_swigconstant(_BotSenseCore)
239 BSPROXY_MSGID_NUMOF = _BotSenseCore.BSPROXY_MSGID_NUMOF
241 _BotSenseCore.BSPROXY_MSGID_MASK_swigconstant(_BotSenseCore)
242 BSPROXY_MSGID_MASK = _BotSenseCore.BSPROXY_MSGID_MASK
244 _BotSenseCore.BSPROXY_MSGUID_VCONN_SHIFT_swigconstant(_BotSenseCore)
245 BSPROXY_MSGUID_VCONN_SHIFT = _BotSenseCore.BSPROXY_MSGUID_VCONN_SHIFT
247 _BotSenseCore.BSPROXY_MSGUID_VCONN_MASK_swigconstant(_BotSenseCore)
248 BSPROXY_MSGUID_VCONN_MASK = _BotSenseCore.BSPROXY_MSGUID_VCONN_MASK
250 _BotSenseCore.BSPROXY_MSGUID_MSGID_MASK_swigconstant(_BotSenseCore)
251 BSPROXY_MSGUID_MSGID_MASK = _BotSenseCore.BSPROXY_MSGUID_MSGID_MASK
253 _BotSenseCore.BSPROXY_MSG_HDR_LEN_swigconstant(_BotSenseCore)
254 BSPROXY_MSG_HDR_LEN = _BotSenseCore.BSPROXY_MSG_HDR_LEN
256 _BotSenseCore.BSPROXY_MSG_MAX_LEN_swigconstant(_BotSenseCore)
257 BSPROXY_MSG_MAX_LEN = _BotSenseCore.BSPROXY_MSG_MAX_LEN
259 _BotSenseCore.BSPROXY_MSG_MAGIC_swigconstant(_BotSenseCore)
260 BSPROXY_MSG_MAGIC = _BotSenseCore.BSPROXY_MSG_MAGIC
262 __swig_setmethods__ = {}
263 __setattr__ =
lambda self, name, value: _swig_setattr(self, BsProxyMsgHdr_T, name, value)
264 __swig_getmethods__ = {}
265 __getattr__ =
lambda self, name: _swig_getattr(self, BsProxyMsgHdr_T, name)
266 __repr__ = _swig_repr
267 __swig_setmethods__[
"m_hdrMagic"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrMagic_set
268 __swig_getmethods__[
"m_hdrMagic"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrMagic_get
270 m_hdrMagic = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrMagic_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrMagic_set)
271 __swig_setmethods__[
"m_hdrTid"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrTid_set
272 __swig_getmethods__[
"m_hdrTid"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrTid_get
274 m_hdrTid = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrTid_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrTid_set)
275 __swig_setmethods__[
"m_hdrVConn"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrVConn_set
276 __swig_getmethods__[
"m_hdrVConn"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrVConn_get
278 m_hdrVConn = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrVConn_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrVConn_set)
279 __swig_setmethods__[
"m_hdrMsgId"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrMsgId_set
280 __swig_getmethods__[
"m_hdrMsgId"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrMsgId_get
282 m_hdrMsgId = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrMsgId_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrMsgId_set)
283 __swig_setmethods__[
"m_hdrBodyLen"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_set
284 __swig_getmethods__[
"m_hdrBodyLen"] = _BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_get
286 m_hdrBodyLen = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_set)
289 this = _BotSenseCore.new_BsProxyMsgHdr_T()
291 self.this.append(this)
294 __swig_destroy__ = _BotSenseCore.delete_BsProxyMsgHdr_T
295 __del__ =
lambda self:
None 296 BsProxyMsgHdr_T_swigregister = _BotSenseCore.BsProxyMsgHdr_T_swigregister
297 BsProxyMsgHdr_T_swigregister(BsProxyMsgHdr_T)
300 __swig_setmethods__ = {}
301 __setattr__ =
lambda self, name, value: _swig_setattr(self, BsClientAppInfo_T, name, value)
302 __swig_getmethods__ = {}
303 __getattr__ =
lambda self, name: _swig_getattr(self, BsClientAppInfo_T, name)
304 __repr__ = _swig_repr
305 __swig_setmethods__[
"app_name"] = _BotSenseCore.BsClientAppInfo_T_app_name_set
306 __swig_getmethods__[
"app_name"] = _BotSenseCore.BsClientAppInfo_T_app_name_get
308 app_name = _swig_property(_BotSenseCore.BsClientAppInfo_T_app_name_get, _BotSenseCore.BsClientAppInfo_T_app_name_set)
309 __swig_setmethods__[
"brief"] = _BotSenseCore.BsClientAppInfo_T_brief_set
310 __swig_getmethods__[
"brief"] = _BotSenseCore.BsClientAppInfo_T_brief_get
312 brief = _swig_property(_BotSenseCore.BsClientAppInfo_T_brief_get, _BotSenseCore.BsClientAppInfo_T_brief_set)
313 __swig_setmethods__[
"version"] = _BotSenseCore.BsClientAppInfo_T_version_set
314 __swig_getmethods__[
"version"] = _BotSenseCore.BsClientAppInfo_T_version_get
316 version = _swig_property(_BotSenseCore.BsClientAppInfo_T_version_get, _BotSenseCore.BsClientAppInfo_T_version_set)
317 __swig_setmethods__[
"date"] = _BotSenseCore.BsClientAppInfo_T_date_set
318 __swig_getmethods__[
"date"] = _BotSenseCore.BsClientAppInfo_T_date_get
320 date = _swig_property(_BotSenseCore.BsClientAppInfo_T_date_get, _BotSenseCore.BsClientAppInfo_T_date_set)
321 __swig_setmethods__[
"maintainer"] = _BotSenseCore.BsClientAppInfo_T_maintainer_set
322 __swig_getmethods__[
"maintainer"] = _BotSenseCore.BsClientAppInfo_T_maintainer_get
324 maintainer = _swig_property(_BotSenseCore.BsClientAppInfo_T_maintainer_get, _BotSenseCore.BsClientAppInfo_T_maintainer_set)
325 __swig_setmethods__[
"license"] = _BotSenseCore.BsClientAppInfo_T_license_set
326 __swig_getmethods__[
"license"] = _BotSenseCore.BsClientAppInfo_T_license_get
328 license = _swig_property(_BotSenseCore.BsClientAppInfo_T_license_get, _BotSenseCore.BsClientAppInfo_T_license_set)
329 __swig_setmethods__[
"fnGetMsgName"] = _BotSenseCore.BsClientAppInfo_T_fnGetMsgName_set
330 __swig_getmethods__[
"fnGetMsgName"] = _BotSenseCore.BsClientAppInfo_T_fnGetMsgName_get
332 fnGetMsgName = _swig_property(_BotSenseCore.BsClientAppInfo_T_fnGetMsgName_get, _BotSenseCore.BsClientAppInfo_T_fnGetMsgName_set)
335 this = _BotSenseCore.new_BsClientAppInfo_T()
337 self.this.append(this)
340 __swig_destroy__ = _BotSenseCore.delete_BsClientAppInfo_T
341 __del__ =
lambda self:
None 342 BsClientAppInfo_T_swigregister = _BotSenseCore.BsClientAppInfo_T_swigregister
343 BsClientAppInfo_T_swigregister(BsClientAppInfo_T)
346 __swig_setmethods__ = {}
347 __setattr__ =
lambda self, name, value: _swig_setattr(self, BsClientConnState_T, name, value)
348 __swig_getmethods__ = {}
349 __getattr__ =
lambda self, name: _swig_getattr(self, BsClientConnState_T, name)
350 __repr__ = _swig_repr
351 __swig_setmethods__[
"m_bIsConnected"] = _BotSenseCore.BsClientConnState_T_m_bIsConnected_set
352 __swig_getmethods__[
"m_bIsConnected"] = _BotSenseCore.BsClientConnState_T_m_bIsConnected_get
354 m_bIsConnected = _swig_property(_BotSenseCore.BsClientConnState_T_m_bIsConnected_get, _BotSenseCore.BsClientConnState_T_m_bIsConnected_set)
355 __swig_setmethods__[
"m_sServerHostName"] = _BotSenseCore.BsClientConnState_T_m_sServerHostName_set
356 __swig_getmethods__[
"m_sServerHostName"] = _BotSenseCore.BsClientConnState_T_m_sServerHostName_get
358 m_sServerHostName = _swig_property(_BotSenseCore.BsClientConnState_T_m_sServerHostName_get, _BotSenseCore.BsClientConnState_T_m_sServerHostName_set)
361 this = _BotSenseCore.new_BsClientConnState_T()
363 self.this.append(this)
366 __swig_destroy__ = _BotSenseCore.delete_BsClientConnState_T
367 __del__ =
lambda self:
None 368 BsClientConnState_T_swigregister = _BotSenseCore.BsClientConnState_T_swigregister
369 BsClientConnState_T_swigregister(BsClientConnState_T)
372 __swig_setmethods__ = {}
373 __setattr__ =
lambda self, name, value: _swig_setattr(self, BsVecHandles_T, name, value)
374 __swig_getmethods__ = {}
375 __getattr__ =
lambda self, name: _swig_getattr(self, BsVecHandles_T, name)
376 __repr__ = _swig_repr
377 __swig_setmethods__[
"m_uCount"] = _BotSenseCore.BsVecHandles_T_m_uCount_set
378 __swig_getmethods__[
"m_uCount"] = _BotSenseCore.BsVecHandles_T_m_uCount_get
380 m_uCount = _swig_property(_BotSenseCore.BsVecHandles_T_m_uCount_get, _BotSenseCore.BsVecHandles_T_m_uCount_set)
381 __swig_setmethods__[
"m_vecHnd"] = _BotSenseCore.BsVecHandles_T_m_vecHnd_set
382 __swig_getmethods__[
"m_vecHnd"] = _BotSenseCore.BsVecHandles_T_m_vecHnd_get
384 m_vecHnd = _swig_property(_BotSenseCore.BsVecHandles_T_m_vecHnd_get, _BotSenseCore.BsVecHandles_T_m_vecHnd_set)
387 this = _BotSenseCore.new_BsVecHandles_T()
389 self.this.append(this)
392 __swig_destroy__ = _BotSenseCore.delete_BsVecHandles_T
393 __del__ =
lambda self:
None 394 BsVecHandles_T_swigregister = _BotSenseCore.BsVecHandles_T_swigregister
395 BsVecHandles_T_swigregister(BsVecHandles_T)
398 _BotSenseCore.BSCLIENT_INFO_STR_MAX_SIZE_swigconstant(_BotSenseCore)
399 BSCLIENT_INFO_STR_MAX_SIZE = _BotSenseCore.BSCLIENT_INFO_STR_MAX_SIZE
401 __swig_setmethods__ = {}
402 __setattr__ =
lambda self, name, value: _swig_setattr(self, BsVConnInfo_T, name, value)
403 __swig_getmethods__ = {}
404 __getattr__ =
lambda self, name: _swig_getattr(self, BsVConnInfo_T, name)
405 __repr__ = _swig_repr
406 __swig_setmethods__[
"m_vconn"] = _BotSenseCore.BsVConnInfo_T_m_vconn_set
407 __swig_getmethods__[
"m_vconn"] = _BotSenseCore.BsVConnInfo_T_m_vconn_get
409 m_vconn = _swig_property(_BotSenseCore.BsVConnInfo_T_m_vconn_get, _BotSenseCore.BsVConnInfo_T_m_vconn_set)
410 __swig_setmethods__[
"m_rd"] = _BotSenseCore.BsVConnInfo_T_m_rd_set
411 __swig_getmethods__[
"m_rd"] = _BotSenseCore.BsVConnInfo_T_m_rd_get
413 m_rd = _swig_property(_BotSenseCore.BsVConnInfo_T_m_rd_get, _BotSenseCore.BsVConnInfo_T_m_rd_set)
414 __swig_setmethods__[
"m_client"] = _BotSenseCore.BsVConnInfo_T_m_client_set
415 __swig_getmethods__[
"m_client"] = _BotSenseCore.BsVConnInfo_T_m_client_get
417 m_client = _swig_property(_BotSenseCore.BsVConnInfo_T_m_client_get, _BotSenseCore.BsVConnInfo_T_m_client_set)
418 __swig_setmethods__[
"m_devuri"] = _BotSenseCore.BsVConnInfo_T_m_devuri_set
419 __swig_getmethods__[
"m_devuri"] = _BotSenseCore.BsVConnInfo_T_m_devuri_get
421 m_devuri = _swig_property(_BotSenseCore.BsVConnInfo_T_m_devuri_get, _BotSenseCore.BsVConnInfo_T_m_devuri_set)
422 __swig_setmethods__[
"m_moduri"] = _BotSenseCore.BsVConnInfo_T_m_moduri_set
423 __swig_getmethods__[
"m_moduri"] = _BotSenseCore.BsVConnInfo_T_m_moduri_get
425 m_moduri = _swig_property(_BotSenseCore.BsVConnInfo_T_m_moduri_get, _BotSenseCore.BsVConnInfo_T_m_moduri_set)
426 __swig_setmethods__[
"m_modver"] = _BotSenseCore.BsVConnInfo_T_m_modver_set
427 __swig_getmethods__[
"m_modver"] = _BotSenseCore.BsVConnInfo_T_m_modver_get
429 m_modver = _swig_property(_BotSenseCore.BsVConnInfo_T_m_modver_get, _BotSenseCore.BsVConnInfo_T_m_modver_set)
430 __swig_setmethods__[
"m_moddate"] = _BotSenseCore.BsVConnInfo_T_m_moddate_set
431 __swig_getmethods__[
"m_moddate"] = _BotSenseCore.BsVConnInfo_T_m_moddate_get
433 m_moddate = _swig_property(_BotSenseCore.BsVConnInfo_T_m_moddate_get, _BotSenseCore.BsVConnInfo_T_m_moddate_set)
436 this = _BotSenseCore.new_BsVConnInfo_T()
438 self.this.append(this)
441 __swig_destroy__ = _BotSenseCore.delete_BsVConnInfo_T
442 __del__ =
lambda self:
None 443 BsVConnInfo_T_swigregister = _BotSenseCore.BsVConnInfo_T_swigregister
444 BsVConnInfo_T_swigregister(BsVConnInfo_T)
447 def bsStrError(nECode):
448 return _BotSenseCore.bsStrError(nECode)
449 bsStrError = _BotSenseCore.bsStrError
451 def bsPackMsgHdr(pMsgHdr, buf, bufSize):
452 return _BotSenseCore.bsPackMsgHdr(pMsgHdr, buf, bufSize)
453 bsPackMsgHdr = _BotSenseCore.bsPackMsgHdr
455 def bsUnpackMsgHdr(buf, bufSize, pMsgHdr):
456 return _BotSenseCore.bsUnpackMsgHdr(buf, bufSize, pMsgHdr)
457 bsUnpackMsgHdr = _BotSenseCore.bsUnpackMsgHdr
459 def bsClientNew(sClientName):
460 return _BotSenseCore.bsClientNew(sClientName)
461 bsClientNew = _BotSenseCore.bsClientNew
463 def bsClientDelete(pClient):
464 return _BotSenseCore.bsClientDelete(pClient)
465 bsClientDelete = _BotSenseCore.bsClientDelete
467 def bsClientTrans(pClient, hndVConn, uReqMsgId, bufReq, uReqBodyLen, uRspMsgId, bufRsp, sizeRspBuf):
468 return _BotSenseCore.bsClientTrans(pClient, hndVConn, uReqMsgId, bufReq, uReqBodyLen, uRspMsgId, bufRsp, sizeRspBuf)
469 bsClientTrans = _BotSenseCore.bsClientTrans
471 def bsClientAttrGetName(pClient):
472 return _BotSenseCore.bsClientAttrGetName(pClient)
473 bsClientAttrGetName = _BotSenseCore.bsClientAttrGetName
475 def bsClientAttrGetTimeouts(pClient, pReqTimeout, pRspTimeout):
476 return _BotSenseCore.bsClientAttrGetTimeouts(pClient, pReqTimeout, pRspTimeout)
477 bsClientAttrGetTimeouts = _BotSenseCore.bsClientAttrGetTimeouts
479 def bsClientAttrSetTimeouts(pClient, uReqTimeout, uRspTimeout):
480 return _BotSenseCore.bsClientAttrSetTimeouts(pClient, uReqTimeout, uRspTimeout)
481 bsClientAttrSetTimeouts = _BotSenseCore.bsClientAttrSetTimeouts
483 def bsClientAttrGetTraceState(pClient, hndVConn):
484 return _BotSenseCore.bsClientAttrGetTraceState(pClient, hndVConn)
485 bsClientAttrGetTraceState = _BotSenseCore.bsClientAttrGetTraceState
487 def bsClientAttrGetVConnCount(pClient):
488 return _BotSenseCore.bsClientAttrGetVConnCount(pClient)
489 bsClientAttrGetVConnCount = _BotSenseCore.bsClientAttrGetVConnCount
491 def bsClientAttrHasVConn(pClient, hndVConn):
492 return _BotSenseCore.bsClientAttrHasVConn(pClient, hndVConn)
493 bsClientAttrHasVConn = _BotSenseCore.bsClientAttrHasVConn
495 def bsClientAttrGetDevName(pClient, hndVConn):
496 return _BotSenseCore.bsClientAttrGetDevName(pClient, hndVConn)
497 bsClientAttrGetDevName = _BotSenseCore.bsClientAttrGetDevName
499 def bsClientAttrGetModName(pClient, hndVConn):
500 return _BotSenseCore.bsClientAttrGetModName(pClient, hndVConn)
501 bsClientAttrGetModName = _BotSenseCore.bsClientAttrGetModName
503 def bsClientAttrSetLogging(pClient, nLevel):
504 return _BotSenseCore.bsClientAttrSetLogging(pClient, nLevel)
505 bsClientAttrSetLogging = _BotSenseCore.bsClientAttrSetLogging
507 def bsClientAttrGetConnState(pClient, pConnState):
508 return _BotSenseCore.bsClientAttrGetConnState(pClient, pConnState)
509 bsClientAttrGetConnState = _BotSenseCore.bsClientAttrGetConnState
511 def bsClientFillMsgHdr(pClient, hndVConn, uMsgId, uBodyLen, pMsgHdr):
512 return _BotSenseCore.bsClientFillMsgHdr(pClient, hndVConn, uMsgId, uBodyLen, pMsgHdr)
513 bsClientFillMsgHdr = _BotSenseCore.bsClientFillMsgHdr
515 def bsClientGetMsgName(pClient, hndVConn, uMsgId):
516 return _BotSenseCore.bsClientGetMsgName(pClient, hndVConn, uMsgId)
517 bsClientGetMsgName = _BotSenseCore.bsClientGetMsgName
519 def bsServerConnect(pClient, sServerHostName, ipPortServer):
520 return _BotSenseCore.bsServerConnect(pClient, sServerHostName, ipPortServer)
521 bsServerConnect = _BotSenseCore.bsServerConnect
523 def bsServerDisconnect(pClient):
524 return _BotSenseCore.bsServerDisconnect(pClient)
525 bsServerDisconnect = _BotSenseCore.bsServerDisconnect
527 def bsServerReqGetVersion(pClient, buf, sizeBuf):
528 return _BotSenseCore.bsServerReqGetVersion(pClient, buf, sizeBuf)
529 bsServerReqGetVersion = _BotSenseCore.bsServerReqGetVersion
531 def bsServerReqLoopback(pClient, sLoopbackMsg):
532 return _BotSenseCore.bsServerReqLoopback(pClient, sLoopbackMsg)
533 bsServerReqLoopback = _BotSenseCore.bsServerReqLoopback
535 def bsServerReqSetLogging(pClient, nLogLevel):
536 return _BotSenseCore.bsServerReqSetLogging(pClient, nLogLevel)
537 bsServerReqSetLogging = _BotSenseCore.bsServerReqSetLogging
539 def bsServerReqMsgTrace(pClient, hndVConn, bTrace):
540 return _BotSenseCore.bsServerReqMsgTrace(pClient, hndVConn, bTrace)
541 bsServerReqMsgTrace = _BotSenseCore.bsServerReqMsgTrace
543 def bsServerReqOpenDev(pClient, sDevName, sModName, argbuf, arglen, pAppInfo, bTrace):
544 return _BotSenseCore.bsServerReqOpenDev(pClient, sDevName, sModName, argbuf, arglen, pAppInfo, bTrace)
545 bsServerReqOpenDev = _BotSenseCore.bsServerReqOpenDev
547 def bsServerReqCloseDev(pClient, hndVConn):
548 return _BotSenseCore.bsServerReqCloseDev(pClient, hndVConn)
549 bsServerReqCloseDev = _BotSenseCore.bsServerReqCloseDev
551 def bsServerReqGetVConnList(pClient, pVecHandles):
552 return _BotSenseCore.bsServerReqGetVConnList(pClient, pVecHandles)
553 bsServerReqGetVConnList = _BotSenseCore.bsServerReqGetVConnList
555 def bsServerReqGetVConnInfo(pClient, hndVConn, pVConnInfo):
556 return _BotSenseCore.bsServerReqGetVConnInfo(pClient, hndVConn, pVConnInfo)
557 bsServerReqGetVConnInfo = _BotSenseCore.bsServerReqGetVConnInfo
559 def new_byteArray(nelements):
560 return _BotSenseCore.new_byteArray(nelements)
561 new_byteArray = _BotSenseCore.new_byteArray
563 def delete_byteArray(ary):
564 return _BotSenseCore.delete_byteArray(ary)
565 delete_byteArray = _BotSenseCore.delete_byteArray
567 def byteArray_getitem(ary, index):
568 return _BotSenseCore.byteArray_getitem(ary, index)
569 byteArray_getitem = _BotSenseCore.byteArray_getitem
571 def byteArray_setitem(ary, index, value):
572 return _BotSenseCore.byteArray_setitem(ary, index, value)
573 byteArray_setitem = _BotSenseCore.byteArray_setitem
575 def new_hndVConnArray(nelements):
576 return _BotSenseCore.new_hndVConnArray(nelements)
577 new_hndVConnArray = _BotSenseCore.new_hndVConnArray
579 def delete_hndVConnArray(ary):
580 return _BotSenseCore.delete_hndVConnArray(ary)
581 delete_hndVConnArray = _BotSenseCore.delete_hndVConnArray
583 def hndVConnArray_getitem(ary, index):
584 return _BotSenseCore.hndVConnArray_getitem(ary, index)
585 hndVConnArray_getitem = _BotSenseCore.hndVConnArray_getitem
587 def hndVConnArray_setitem(ary, index, value):
588 return _BotSenseCore.hndVConnArray_setitem(ary, index, value)
589 hndVConnArray_setitem = _BotSenseCore.hndVConnArray_setitem
592 return _BotSenseCore.new_uintp()
593 new_uintp = _BotSenseCore.new_uintp
595 def copy_uintp(value):
596 return _BotSenseCore.copy_uintp(value)
597 copy_uintp = _BotSenseCore.copy_uintp
599 def delete_uintp(obj):
600 return _BotSenseCore.delete_uintp(obj)
601 delete_uintp = _BotSenseCore.delete_uintp
603 def uintp_assign(obj, value):
604 return _BotSenseCore.uintp_assign(obj, value)
605 uintp_assign = _BotSenseCore.uintp_assign
607 def uintp_value(obj):
608 return _BotSenseCore.uintp_value(obj)
609 uintp_value = _BotSenseCore.uintp_value
613 BotSense Core Python Inline Extensions and Wrappers.