botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
BotSenseCore.py
Go to the documentation of this file.
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.8
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2, 6, 0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_BotSenseCore', [dirname(__file__)])
19  except ImportError:
20  import _BotSenseCore
21  return _BotSenseCore
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_BotSenseCore', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _BotSenseCore = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _BotSenseCore
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 
38 
39 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
40  if (name == "thisown"):
41  return self.this.own(value)
42  if (name == "this"):
43  if type(value).__name__ == 'SwigPyObject':
44  self.__dict__[name] = value
45  return
46  method = class_type.__swig_setmethods__.get(name, None)
47  if method:
48  return method(self, value)
49  if (not static):
50  if _newclass:
51  object.__setattr__(self, name, value)
52  else:
53  self.__dict__[name] = value
54  else:
55  raise AttributeError("You cannot add attributes to %s" % self)
56 
57 
58 def _swig_setattr(self, class_type, name, value):
59  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
60 
61 
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)
66  if method:
67  return method(self)
68  if (not static):
69  return object.__getattr__(self, name)
70  else:
71  raise AttributeError(name)
72 
73 def _swig_getattr(self, class_type, name):
74  return _swig_getattr_nondynamic(self, class_type, name, 0)
75 
76 
77 def _swig_repr(self):
78  try:
79  strthis = "proxy of " + self.this.__repr__()
80  except Exception:
81  strthis = ""
82  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
83 
84 try:
85  _object = object
86  _newclass = 1
87 except AttributeError:
88  class _object:
89  pass
90  _newclass = 0
91 
92 
93 
94 _BotSenseCore.BS_OK_swigconstant(_BotSenseCore)
95 BS_OK = _BotSenseCore.BS_OK
96 
97 _BotSenseCore.BS_ECODE_GEN_swigconstant(_BotSenseCore)
98 BS_ECODE_GEN = _BotSenseCore.BS_ECODE_GEN
99 
100 _BotSenseCore.BS_ECODE_BAD_RECV_swigconstant(_BotSenseCore)
101 BS_ECODE_BAD_RECV = _BotSenseCore.BS_ECODE_BAD_RECV
102 
103 _BotSenseCore.BS_ECODE_BAD_SEND_swigconstant(_BotSenseCore)
104 BS_ECODE_BAD_SEND = _BotSenseCore.BS_ECODE_BAD_SEND
105 
106 _BotSenseCore.BS_ECODE_BAD_RESYNC_swigconstant(_BotSenseCore)
107 BS_ECODE_BAD_RESYNC = _BotSenseCore.BS_ECODE_BAD_RESYNC
108 
109 _BotSenseCore.BS_ECODE_MSG_BAD_HDR_swigconstant(_BotSenseCore)
110 BS_ECODE_MSG_BAD_HDR = _BotSenseCore.BS_ECODE_MSG_BAD_HDR
111 
112 _BotSenseCore.BS_ECODE_MSG_FRAG_swigconstant(_BotSenseCore)
113 BS_ECODE_MSG_FRAG = _BotSenseCore.BS_ECODE_MSG_FRAG
114 
115 _BotSenseCore.BS_ECODE_MSG_TOO_BIG_swigconstant(_BotSenseCore)
116 BS_ECODE_MSG_TOO_BIG = _BotSenseCore.BS_ECODE_MSG_TOO_BIG
117 
118 _BotSenseCore.BS_ECODE_BUF_TOO_SMALL_swigconstant(_BotSenseCore)
119 BS_ECODE_BUF_TOO_SMALL = _BotSenseCore.BS_ECODE_BUF_TOO_SMALL
120 
121 _BotSenseCore.BS_ECODE_BAD_MSG_swigconstant(_BotSenseCore)
122 BS_ECODE_BAD_MSG = _BotSenseCore.BS_ECODE_BAD_MSG
123 
124 _BotSenseCore.BS_ECODE_BAD_VAL_swigconstant(_BotSenseCore)
125 BS_ECODE_BAD_VAL = _BotSenseCore.BS_ECODE_BAD_VAL
126 
127 _BotSenseCore.BS_ECODE_MSG_BAD_TID_swigconstant(_BotSenseCore)
128 BS_ECODE_MSG_BAD_TID = _BotSenseCore.BS_ECODE_MSG_BAD_TID
129 
130 _BotSenseCore.BS_ECODE_BAD_VCONN_HND_swigconstant(_BotSenseCore)
131 BS_ECODE_BAD_VCONN_HND = _BotSenseCore.BS_ECODE_BAD_VCONN_HND
132 
133 _BotSenseCore.BS_ECODE_NO_VCONN_swigconstant(_BotSenseCore)
134 BS_ECODE_NO_VCONN = _BotSenseCore.BS_ECODE_NO_VCONN
135 
136 _BotSenseCore.BS_ECODE_UNKNOWN_REQ_swigconstant(_BotSenseCore)
137 BS_ECODE_UNKNOWN_REQ = _BotSenseCore.BS_ECODE_UNKNOWN_REQ
138 
139 _BotSenseCore.BS_ECODE_NO_DEV_swigconstant(_BotSenseCore)
140 BS_ECODE_NO_DEV = _BotSenseCore.BS_ECODE_NO_DEV
141 
142 _BotSenseCore.BS_ECODE_NO_MOD_swigconstant(_BotSenseCore)
143 BS_ECODE_NO_MOD = _BotSenseCore.BS_ECODE_NO_MOD
144 
145 _BotSenseCore.BS_ECODE_BAD_MOD_swigconstant(_BotSenseCore)
146 BS_ECODE_BAD_MOD = _BotSenseCore.BS_ECODE_BAD_MOD
147 
148 _BotSenseCore.BS_ECODE_NO_RSRC_swigconstant(_BotSenseCore)
149 BS_ECODE_NO_RSRC = _BotSenseCore.BS_ECODE_NO_RSRC
150 
151 _BotSenseCore.BS_ECODE_BUSY_swigconstant(_BotSenseCore)
152 BS_ECODE_BUSY = _BotSenseCore.BS_ECODE_BUSY
153 
154 _BotSenseCore.BS_ECODE_TIMEDOUT_swigconstant(_BotSenseCore)
155 BS_ECODE_TIMEDOUT = _BotSenseCore.BS_ECODE_TIMEDOUT
156 
157 _BotSenseCore.BS_ECODE_NO_EXEC_swigconstant(_BotSenseCore)
158 BS_ECODE_NO_EXEC = _BotSenseCore.BS_ECODE_NO_EXEC
159 
160 _BotSenseCore.BS_ECODE_SERVER_CONN_FAIL_swigconstant(_BotSenseCore)
161 BS_ECODE_SERVER_CONN_FAIL = _BotSenseCore.BS_ECODE_SERVER_CONN_FAIL
162 
163 _BotSenseCore.BS_ECODE_SERVER_CONN_DENY_swigconstant(_BotSenseCore)
164 BS_ECODE_SERVER_CONN_DENY = _BotSenseCore.BS_ECODE_SERVER_CONN_DENY
165 
166 _BotSenseCore.BS_ECODE_SERVER_BAD_CLIENT_swigconstant(_BotSenseCore)
167 BS_ECODE_SERVER_BAD_CLIENT = _BotSenseCore.BS_ECODE_SERVER_BAD_CLIENT
168 
169 _BotSenseCore.BS_ECODE_SYS_swigconstant(_BotSenseCore)
170 BS_ECODE_SYS = _BotSenseCore.BS_ECODE_SYS
171 
172 _BotSenseCore.BS_ECODE_INTERNAL_swigconstant(_BotSenseCore)
173 BS_ECODE_INTERNAL = _BotSenseCore.BS_ECODE_INTERNAL
174 
175 _BotSenseCore.BS_ECODE_BADEC_swigconstant(_BotSenseCore)
176 BS_ECODE_BADEC = _BotSenseCore.BS_ECODE_BADEC
177 
178 _BotSenseCore.BS_ECODE_NUMOF_swigconstant(_BotSenseCore)
179 BS_ECODE_NUMOF = _BotSenseCore.BS_ECODE_NUMOF
180 
181 _BotSenseCore.BSPROXY_URI_SCHEME_swigconstant(_BotSenseCore)
182 BSPROXY_URI_SCHEME = _BotSenseCore.BSPROXY_URI_SCHEME
183 
184 _BotSenseCore.BSPROXY_URI_HOSTNAME_DFT_swigconstant(_BotSenseCore)
185 BSPROXY_URI_HOSTNAME_DFT = _BotSenseCore.BSPROXY_URI_HOSTNAME_DFT
186 
187 _BotSenseCore.BSPROXY_LISTEN_PORT_DFT_swigconstant(_BotSenseCore)
188 BSPROXY_LISTEN_PORT_DFT = _BotSenseCore.BSPROXY_LISTEN_PORT_DFT
189 
190 _BotSenseCore.BSPROXY_REG_CLIENT_MAX_swigconstant(_BotSenseCore)
191 BSPROXY_REG_CLIENT_MAX = _BotSenseCore.BSPROXY_REG_CLIENT_MAX
192 
193 _BotSenseCore.BSPROXY_VCONN_CLIENT_MAX_swigconstant(_BotSenseCore)
194 BSPROXY_VCONN_CLIENT_MAX = _BotSenseCore.BSPROXY_VCONN_CLIENT_MAX
195 
196 _BotSenseCore.BSPROXY_MSG_BODY_MAX_swigconstant(_BotSenseCore)
197 BSPROXY_MSG_BODY_MAX = _BotSenseCore.BSPROXY_MSG_BODY_MAX
198 
199 _BotSenseCore.BSPROXY_VCONN_MASK_swigconstant(_BotSenseCore)
200 BSPROXY_VCONN_MASK = _BotSenseCore.BSPROXY_VCONN_MASK
201 
202 _BotSenseCore.BSPROXY_VCONN_UNDEF_swigconstant(_BotSenseCore)
203 BSPROXY_VCONN_UNDEF = _BotSenseCore.BSPROXY_VCONN_UNDEF
204 
205 _BotSenseCore.BSPROXY_VCONN_SERVER_swigconstant(_BotSenseCore)
206 BSPROXY_VCONN_SERVER = _BotSenseCore.BSPROXY_VCONN_SERVER
207 
208 _BotSenseCore.BSPROXY_VCONN_MOD_MIN_swigconstant(_BotSenseCore)
209 BSPROXY_VCONN_MOD_MIN = _BotSenseCore.BSPROXY_VCONN_MOD_MIN
210 
211 _BotSenseCore.BSPROXY_VCONN_MOD_MAX_swigconstant(_BotSenseCore)
212 BSPROXY_VCONN_MOD_MAX = _BotSenseCore.BSPROXY_VCONN_MOD_MAX
213 
214 _BotSenseCore.BSPROXY_VCONN_MOD_NUMOF_swigconstant(_BotSenseCore)
215 BSPROXY_VCONN_MOD_NUMOF = _BotSenseCore.BSPROXY_VCONN_MOD_NUMOF
216 
217 _BotSenseCore.BSPROXY_VCONN_NUMOF_swigconstant(_BotSenseCore)
218 BSPROXY_VCONN_NUMOF = _BotSenseCore.BSPROXY_VCONN_NUMOF
219 
220 _BotSenseCore.BSPROXY_VCONN_MIN_swigconstant(_BotSenseCore)
221 BSPROXY_VCONN_MIN = _BotSenseCore.BSPROXY_VCONN_MIN
222 
223 _BotSenseCore.BSPROXY_VCONN_MAX_swigconstant(_BotSenseCore)
224 BSPROXY_VCONN_MAX = _BotSenseCore.BSPROXY_VCONN_MAX
225 
226 _BotSenseCore.BSPROXY_TID_MIN_swigconstant(_BotSenseCore)
227 BSPROXY_TID_MIN = _BotSenseCore.BSPROXY_TID_MIN
228 
229 _BotSenseCore.BSPROXY_TID_MAX_swigconstant(_BotSenseCore)
230 BSPROXY_TID_MAX = _BotSenseCore.BSPROXY_TID_MAX
231 
232 _BotSenseCore.BSPROXY_TID_NUMOF_swigconstant(_BotSenseCore)
233 BSPROXY_TID_NUMOF = _BotSenseCore.BSPROXY_TID_NUMOF
234 
235 _BotSenseCore.BSPROXY_TID_MASK_swigconstant(_BotSenseCore)
236 BSPROXY_TID_MASK = _BotSenseCore.BSPROXY_TID_MASK
237 
238 _BotSenseCore.BSPROXY_MSGID_NUMOF_swigconstant(_BotSenseCore)
239 BSPROXY_MSGID_NUMOF = _BotSenseCore.BSPROXY_MSGID_NUMOF
240 
241 _BotSenseCore.BSPROXY_MSGID_MASK_swigconstant(_BotSenseCore)
242 BSPROXY_MSGID_MASK = _BotSenseCore.BSPROXY_MSGID_MASK
243 
244 _BotSenseCore.BSPROXY_MSGUID_VCONN_SHIFT_swigconstant(_BotSenseCore)
245 BSPROXY_MSGUID_VCONN_SHIFT = _BotSenseCore.BSPROXY_MSGUID_VCONN_SHIFT
246 
247 _BotSenseCore.BSPROXY_MSGUID_VCONN_MASK_swigconstant(_BotSenseCore)
248 BSPROXY_MSGUID_VCONN_MASK = _BotSenseCore.BSPROXY_MSGUID_VCONN_MASK
249 
250 _BotSenseCore.BSPROXY_MSGUID_MSGID_MASK_swigconstant(_BotSenseCore)
251 BSPROXY_MSGUID_MSGID_MASK = _BotSenseCore.BSPROXY_MSGUID_MSGID_MASK
252 
253 _BotSenseCore.BSPROXY_MSG_HDR_LEN_swigconstant(_BotSenseCore)
254 BSPROXY_MSG_HDR_LEN = _BotSenseCore.BSPROXY_MSG_HDR_LEN
255 
256 _BotSenseCore.BSPROXY_MSG_MAX_LEN_swigconstant(_BotSenseCore)
257 BSPROXY_MSG_MAX_LEN = _BotSenseCore.BSPROXY_MSG_MAX_LEN
258 
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
269  if _newclass:
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
273  if _newclass:
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
277  if _newclass:
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
281  if _newclass:
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
285  if _newclass:
286  m_hdrBodyLen = _swig_property(_BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_get, _BotSenseCore.BsProxyMsgHdr_T_m_hdrBodyLen_set)
287 
288  def __init__(self):
289  this = _BotSenseCore.new_BsProxyMsgHdr_T()
290  try:
291  self.this.append(this)
292  except Exception:
293  self.this = 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)
298 
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
307  if _newclass:
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
311  if _newclass:
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
315  if _newclass:
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
319  if _newclass:
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
323  if _newclass:
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
327  if _newclass:
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
331  if _newclass:
332  fnGetMsgName = _swig_property(_BotSenseCore.BsClientAppInfo_T_fnGetMsgName_get, _BotSenseCore.BsClientAppInfo_T_fnGetMsgName_set)
333 
334  def __init__(self):
335  this = _BotSenseCore.new_BsClientAppInfo_T()
336  try:
337  self.this.append(this)
338  except Exception:
339  self.this = 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)
344 
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
353  if _newclass:
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
357  if _newclass:
358  m_sServerHostName = _swig_property(_BotSenseCore.BsClientConnState_T_m_sServerHostName_get, _BotSenseCore.BsClientConnState_T_m_sServerHostName_set)
359 
360  def __init__(self):
361  this = _BotSenseCore.new_BsClientConnState_T()
362  try:
363  self.this.append(this)
364  except Exception:
365  self.this = 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)
370 
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
379  if _newclass:
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
383  if _newclass:
384  m_vecHnd = _swig_property(_BotSenseCore.BsVecHandles_T_m_vecHnd_get, _BotSenseCore.BsVecHandles_T_m_vecHnd_set)
385 
386  def __init__(self):
387  this = _BotSenseCore.new_BsVecHandles_T()
388  try:
389  self.this.append(this)
390  except Exception:
391  self.this = 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)
396 
397 
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
408  if _newclass:
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
412  if _newclass:
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
416  if _newclass:
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
420  if _newclass:
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
424  if _newclass:
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
428  if _newclass:
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
432  if _newclass:
433  m_moddate = _swig_property(_BotSenseCore.BsVConnInfo_T_m_moddate_get, _BotSenseCore.BsVConnInfo_T_m_moddate_set)
434 
435  def __init__(self):
436  this = _BotSenseCore.new_BsVConnInfo_T()
437  try:
438  self.this.append(this)
439  except Exception:
440  self.this = 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)
445 
446 
447 def bsStrError(nECode):
448  return _BotSenseCore.bsStrError(nECode)
449 bsStrError = _BotSenseCore.bsStrError
450 
451 def bsPackMsgHdr(pMsgHdr, buf, bufSize):
452  return _BotSenseCore.bsPackMsgHdr(pMsgHdr, buf, bufSize)
453 bsPackMsgHdr = _BotSenseCore.bsPackMsgHdr
454 
455 def bsUnpackMsgHdr(buf, bufSize, pMsgHdr):
456  return _BotSenseCore.bsUnpackMsgHdr(buf, bufSize, pMsgHdr)
457 bsUnpackMsgHdr = _BotSenseCore.bsUnpackMsgHdr
458 
459 def bsClientNew(sClientName):
460  return _BotSenseCore.bsClientNew(sClientName)
461 bsClientNew = _BotSenseCore.bsClientNew
462 
463 def bsClientDelete(pClient):
464  return _BotSenseCore.bsClientDelete(pClient)
465 bsClientDelete = _BotSenseCore.bsClientDelete
466 
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
470 
471 def bsClientAttrGetName(pClient):
472  return _BotSenseCore.bsClientAttrGetName(pClient)
473 bsClientAttrGetName = _BotSenseCore.bsClientAttrGetName
474 
475 def bsClientAttrGetTimeouts(pClient, pReqTimeout, pRspTimeout):
476  return _BotSenseCore.bsClientAttrGetTimeouts(pClient, pReqTimeout, pRspTimeout)
477 bsClientAttrGetTimeouts = _BotSenseCore.bsClientAttrGetTimeouts
478 
479 def bsClientAttrSetTimeouts(pClient, uReqTimeout, uRspTimeout):
480  return _BotSenseCore.bsClientAttrSetTimeouts(pClient, uReqTimeout, uRspTimeout)
481 bsClientAttrSetTimeouts = _BotSenseCore.bsClientAttrSetTimeouts
482 
483 def bsClientAttrGetTraceState(pClient, hndVConn):
484  return _BotSenseCore.bsClientAttrGetTraceState(pClient, hndVConn)
485 bsClientAttrGetTraceState = _BotSenseCore.bsClientAttrGetTraceState
486 
487 def bsClientAttrGetVConnCount(pClient):
488  return _BotSenseCore.bsClientAttrGetVConnCount(pClient)
489 bsClientAttrGetVConnCount = _BotSenseCore.bsClientAttrGetVConnCount
490 
491 def bsClientAttrHasVConn(pClient, hndVConn):
492  return _BotSenseCore.bsClientAttrHasVConn(pClient, hndVConn)
493 bsClientAttrHasVConn = _BotSenseCore.bsClientAttrHasVConn
494 
495 def bsClientAttrGetDevName(pClient, hndVConn):
496  return _BotSenseCore.bsClientAttrGetDevName(pClient, hndVConn)
497 bsClientAttrGetDevName = _BotSenseCore.bsClientAttrGetDevName
498 
499 def bsClientAttrGetModName(pClient, hndVConn):
500  return _BotSenseCore.bsClientAttrGetModName(pClient, hndVConn)
501 bsClientAttrGetModName = _BotSenseCore.bsClientAttrGetModName
502 
503 def bsClientAttrSetLogging(pClient, nLevel):
504  return _BotSenseCore.bsClientAttrSetLogging(pClient, nLevel)
505 bsClientAttrSetLogging = _BotSenseCore.bsClientAttrSetLogging
506 
507 def bsClientAttrGetConnState(pClient, pConnState):
508  return _BotSenseCore.bsClientAttrGetConnState(pClient, pConnState)
509 bsClientAttrGetConnState = _BotSenseCore.bsClientAttrGetConnState
510 
511 def bsClientFillMsgHdr(pClient, hndVConn, uMsgId, uBodyLen, pMsgHdr):
512  return _BotSenseCore.bsClientFillMsgHdr(pClient, hndVConn, uMsgId, uBodyLen, pMsgHdr)
513 bsClientFillMsgHdr = _BotSenseCore.bsClientFillMsgHdr
514 
515 def bsClientGetMsgName(pClient, hndVConn, uMsgId):
516  return _BotSenseCore.bsClientGetMsgName(pClient, hndVConn, uMsgId)
517 bsClientGetMsgName = _BotSenseCore.bsClientGetMsgName
518 
519 def bsServerConnect(pClient, sServerHostName, ipPortServer):
520  return _BotSenseCore.bsServerConnect(pClient, sServerHostName, ipPortServer)
521 bsServerConnect = _BotSenseCore.bsServerConnect
522 
523 def bsServerDisconnect(pClient):
524  return _BotSenseCore.bsServerDisconnect(pClient)
525 bsServerDisconnect = _BotSenseCore.bsServerDisconnect
526 
527 def bsServerReqGetVersion(pClient, buf, sizeBuf):
528  return _BotSenseCore.bsServerReqGetVersion(pClient, buf, sizeBuf)
529 bsServerReqGetVersion = _BotSenseCore.bsServerReqGetVersion
530 
531 def bsServerReqLoopback(pClient, sLoopbackMsg):
532  return _BotSenseCore.bsServerReqLoopback(pClient, sLoopbackMsg)
533 bsServerReqLoopback = _BotSenseCore.bsServerReqLoopback
534 
535 def bsServerReqSetLogging(pClient, nLogLevel):
536  return _BotSenseCore.bsServerReqSetLogging(pClient, nLogLevel)
537 bsServerReqSetLogging = _BotSenseCore.bsServerReqSetLogging
538 
539 def bsServerReqMsgTrace(pClient, hndVConn, bTrace):
540  return _BotSenseCore.bsServerReqMsgTrace(pClient, hndVConn, bTrace)
541 bsServerReqMsgTrace = _BotSenseCore.bsServerReqMsgTrace
542 
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
546 
547 def bsServerReqCloseDev(pClient, hndVConn):
548  return _BotSenseCore.bsServerReqCloseDev(pClient, hndVConn)
549 bsServerReqCloseDev = _BotSenseCore.bsServerReqCloseDev
550 
551 def bsServerReqGetVConnList(pClient, pVecHandles):
552  return _BotSenseCore.bsServerReqGetVConnList(pClient, pVecHandles)
553 bsServerReqGetVConnList = _BotSenseCore.bsServerReqGetVConnList
554 
555 def bsServerReqGetVConnInfo(pClient, hndVConn, pVConnInfo):
556  return _BotSenseCore.bsServerReqGetVConnInfo(pClient, hndVConn, pVConnInfo)
557 bsServerReqGetVConnInfo = _BotSenseCore.bsServerReqGetVConnInfo
558 
559 def new_byteArray(nelements):
560  return _BotSenseCore.new_byteArray(nelements)
561 new_byteArray = _BotSenseCore.new_byteArray
562 
563 def delete_byteArray(ary):
564  return _BotSenseCore.delete_byteArray(ary)
565 delete_byteArray = _BotSenseCore.delete_byteArray
566 
567 def byteArray_getitem(ary, index):
568  return _BotSenseCore.byteArray_getitem(ary, index)
569 byteArray_getitem = _BotSenseCore.byteArray_getitem
570 
571 def byteArray_setitem(ary, index, value):
572  return _BotSenseCore.byteArray_setitem(ary, index, value)
573 byteArray_setitem = _BotSenseCore.byteArray_setitem
574 
575 def new_hndVConnArray(nelements):
576  return _BotSenseCore.new_hndVConnArray(nelements)
577 new_hndVConnArray = _BotSenseCore.new_hndVConnArray
578 
579 def delete_hndVConnArray(ary):
580  return _BotSenseCore.delete_hndVConnArray(ary)
581 delete_hndVConnArray = _BotSenseCore.delete_hndVConnArray
582 
583 def hndVConnArray_getitem(ary, index):
584  return _BotSenseCore.hndVConnArray_getitem(ary, index)
585 hndVConnArray_getitem = _BotSenseCore.hndVConnArray_getitem
586 
587 def hndVConnArray_setitem(ary, index, value):
588  return _BotSenseCore.hndVConnArray_setitem(ary, index, value)
589 hndVConnArray_setitem = _BotSenseCore.hndVConnArray_setitem
590 
591 def new_uintp():
592  return _BotSenseCore.new_uintp()
593 new_uintp = _BotSenseCore.new_uintp
594 
595 def copy_uintp(value):
596  return _BotSenseCore.copy_uintp(value)
597 copy_uintp = _BotSenseCore.copy_uintp
598 
599 def delete_uintp(obj):
600  return _BotSenseCore.delete_uintp(obj)
601 delete_uintp = _BotSenseCore.delete_uintp
602 
603 def uintp_assign(obj, value):
604  return _BotSenseCore.uintp_assign(obj, value)
605 uintp_assign = _BotSenseCore.uintp_assign
606 
607 def uintp_value(obj):
608  return _BotSenseCore.uintp_value(obj)
609 uintp_value = _BotSenseCore.uintp_value
610 
611 
612 """
613 BotSense Core Python Inline Extensions and Wrappers.
614 """
615 
616 ## \file
617 ## \package BotSense.BotSenseCore
618 ##
619 ## \brief BotSense Swigged Core Python Interface Module.
620 ##
621 ## \author Robin Knight (robin.knight@roadnarrows.com)
622 ##
623 ## \par Copyright:
624 ## (C) 2012. RoadNarrows LLC.\n
625 ## (http://www.roadnarrows.com)\n
626 ## All Rights Reserved
627 ##
628 
629 
630 # This file is compatible with both classic and new-style classes.
631 
632