# This file was automatically generated by SWIG (http://www.swig.org). # Version 1.3.40 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. # This file is compatible with both classic and new-style classes. """ Hello this is a string """ from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path import dirname import imp fp = None try: fp, pathname, description = imp.find_module('_canl', [dirname(__file__)]) except ImportError: import _canl return _canl if fp is not None: try: _mod = imp.load_module('_canl', fp, pathname, description) finally: fp.close() return _mod _canl = swig_import_helper() del swig_import_helper else: import _canl del version_info try: _swig_property = property except NameError: pass # Python < 2.2 doesn't have 'property'. def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "thisown"): return self.this.own(value) if (name == "this"): if type(value).__name__ == 'SwigPyObject': self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) if (not static) or hasattr(self,name): self.__dict__[name] = value else: raise AttributeError("You cannot add attributes to %s" % self) def _swig_setattr(self,class_type,name,value): return _swig_setattr_nondynamic(self,class_type,name,value,0) def _swig_getattr(self,class_type,name): if (name == "thisown"): return self.this.own() method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError(name) def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) try: _object = object _newclass = 1 except AttributeError: class _object : pass _newclass = 0 class SwigPyIterator(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr __swig_destroy__ = _canl.delete_SwigPyIterator __del__ = lambda self : None; def value(self): return _canl.SwigPyIterator_value(self) def incr(self, n = 1): return _canl.SwigPyIterator_incr(self, n) def decr(self, n = 1): return _canl.SwigPyIterator_decr(self, n) def distance(self, *args): return _canl.SwigPyIterator_distance(self, *args) def equal(self, *args): return _canl.SwigPyIterator_equal(self, *args) def copy(self): return _canl.SwigPyIterator_copy(self) def next(self): return _canl.SwigPyIterator_next(self) def __next__(self): return _canl.SwigPyIterator___next__(self) def previous(self): return _canl.SwigPyIterator_previous(self) def advance(self, *args): return _canl.SwigPyIterator_advance(self, *args) def __eq__(self, *args): return _canl.SwigPyIterator___eq__(self, *args) def __ne__(self, *args): return _canl.SwigPyIterator___ne__(self, *args) def __iadd__(self, *args): return _canl.SwigPyIterator___iadd__(self, *args) def __isub__(self, *args): return _canl.SwigPyIterator___isub__(self, *args) def __add__(self, *args): return _canl.SwigPyIterator___add__(self, *args) def __sub__(self, *args): return _canl.SwigPyIterator___sub__(self, *args) def __iter__(self): return self SwigPyIterator_swigregister = _canl.SwigPyIterator_swigregister SwigPyIterator_swigregister(SwigPyIterator) class StringList(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, StringList, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, StringList, name) __repr__ = _swig_repr def iterator(self): return _canl.StringList_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _canl.StringList___nonzero__(self) def __bool__(self): return _canl.StringList___bool__(self) def __len__(self): return _canl.StringList___len__(self) def pop(self): return _canl.StringList_pop(self) def __getslice__(self, *args): return _canl.StringList___getslice__(self, *args) def __setslice__(self, *args): return _canl.StringList___setslice__(self, *args) def __delslice__(self, *args): return _canl.StringList___delslice__(self, *args) def __delitem__(self, *args): return _canl.StringList___delitem__(self, *args) def __getitem__(self, *args): return _canl.StringList___getitem__(self, *args) def __setitem__(self, *args): return _canl.StringList___setitem__(self, *args) def append(self, *args): return _canl.StringList_append(self, *args) def empty(self): return _canl.StringList_empty(self) def size(self): return _canl.StringList_size(self) def clear(self): return _canl.StringList_clear(self) def swap(self, *args): return _canl.StringList_swap(self, *args) def get_allocator(self): return _canl.StringList_get_allocator(self) def begin(self): return _canl.StringList_begin(self) def end(self): return _canl.StringList_end(self) def rbegin(self): return _canl.StringList_rbegin(self) def rend(self): return _canl.StringList_rend(self) def pop_back(self): return _canl.StringList_pop_back(self) def erase(self, *args): return _canl.StringList_erase(self, *args) def __init__(self, *args): this = _canl.new_StringList(*args) try: self.this.append(this) except: self.this = this def push_back(self, *args): return _canl.StringList_push_back(self, *args) def front(self): return _canl.StringList_front(self) def back(self): return _canl.StringList_back(self) def assign(self, *args): return _canl.StringList_assign(self, *args) def resize(self, *args): return _canl.StringList_resize(self, *args) def insert(self, *args): return _canl.StringList_insert(self, *args) def pop_front(self): return _canl.StringList_pop_front(self) def push_front(self, *args): return _canl.StringList_push_front(self, *args) def reverse(self): return _canl.StringList_reverse(self) __swig_destroy__ = _canl.delete_StringList __del__ = lambda self : None; StringList_swigregister = _canl.StringList_swigregister StringList_swigregister(StringList) class Extension(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Extension, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Extension, name) __repr__ = _swig_repr __swig_setmethods__["critical"] = _canl.Extension_critical_set __swig_getmethods__["critical"] = _canl.Extension_critical_get if _newclass:critical = _swig_property(_canl.Extension_critical_get, _canl.Extension_critical_set) __swig_setmethods__["oid"] = _canl.Extension_oid_set __swig_getmethods__["oid"] = _canl.Extension_oid_get if _newclass:oid = _swig_property(_canl.Extension_oid_get, _canl.Extension_oid_set) __swig_setmethods__["value"] = _canl.Extension_value_set __swig_getmethods__["value"] = _canl.Extension_value_get if _newclass:value = _swig_property(_canl.Extension_value_get, _canl.Extension_value_set) def __init__(self): this = _canl.new_Extension() try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_Extension __del__ = lambda self : None; Extension_swigregister = _canl.Extension_swigregister Extension_swigregister(Extension) class Status(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Status, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Status, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_Status(*args) try: self.this.append(this) except: self.this = this def GetCode(self): return _canl.Status_GetCode(self) def __eq__(self, *args): return _canl.Status___eq__(self, *args) def GetDescription(self): return _canl.Status_GetDescription(self) def __nonzero__(self): return _canl.Status___nonzero__(self) __bool__ = __nonzero__ __swig_destroy__ = _canl.delete_Status __del__ = lambda self : None; Status_swigregister = _canl.Status_swigregister Status_swigregister(Status) class Context(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Context, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Context, name) __repr__ = _swig_repr EmptyContext = _canl.Context_EmptyContext ClientFullContext = _canl.Context_ClientFullContext ClientMinimalContext = _canl.Context_ClientMinimalContext ServiceFullContext = _canl.Context_ServiceFullContext ServiceMinimalContext = _canl.Context_ServiceMinimalContext LogDebug = _canl.Context_LogDebug LogVerbose = _canl.Context_LogVerbose LogInfo = _canl.Context_LogInfo LogWarning = _canl.Context_LogWarning LogError = _canl.Context_LogError LogFatal = _canl.Context_LogFatal def __init__(self, *args): this = _canl.new_Context(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_Context __del__ = lambda self : None; def __nonzero__(self): return _canl.Context___nonzero__(self) __bool__ = __nonzero__ def GetStatus(self): return _canl.Context_GetStatus(self) def Copy(self): return _canl.Context_Copy(self) def GetCAPath(self): return _canl.Context_GetCAPath(self) def SetCAPath(self, *args): return _canl.Context_SetCAPath(self, *args) def GetCRLPath(self): return _canl.Context_GetCRLPath(self) def SetCRLPath(self, *args): return _canl.Context_SetCRLPath(self, *args) def SetCredentials(self, *args): return _canl.Context_SetCredentials(self, *args) def GetCertPath(self): return _canl.Context_GetCertPath(self) def GetKeyPath(self): return _canl.Context_GetKeyPath(self) def Password(self, *args): return _canl.Context_Password(self, *args) def Message(self, *args): return _canl.Context_Message(self, *args) def Log(self, *args): return _canl.Context_Log(self, *args) def LogFormat(self, *args): return _canl.Context_LogFormat(self, *args) __swig_setmethods__["valid_"] = _canl.Context_valid__set __swig_getmethods__["valid_"] = _canl.Context_valid__get if _newclass:valid_ = _swig_property(_canl.Context_valid__get, _canl.Context_valid__set) __swig_setmethods__["capath_"] = _canl.Context_capath__set __swig_getmethods__["capath_"] = _canl.Context_capath__get if _newclass:capath_ = _swig_property(_canl.Context_capath__get, _canl.Context_capath__set) __swig_setmethods__["crlpath_"] = _canl.Context_crlpath__set __swig_getmethods__["crlpath_"] = _canl.Context_crlpath__get if _newclass:crlpath_ = _swig_property(_canl.Context_crlpath__get, _canl.Context_crlpath__set) __swig_setmethods__["crlfiles_"] = _canl.Context_crlfiles__set __swig_getmethods__["crlfiles_"] = _canl.Context_crlfiles__get if _newclass:crlfiles_ = _swig_property(_canl.Context_crlfiles__get, _canl.Context_crlfiles__set) __swig_setmethods__["certpath_"] = _canl.Context_certpath__set __swig_getmethods__["certpath_"] = _canl.Context_certpath__get if _newclass:certpath_ = _swig_property(_canl.Context_certpath__get, _canl.Context_certpath__set) __swig_setmethods__["keypath_"] = _canl.Context_keypath__set __swig_getmethods__["keypath_"] = _canl.Context_keypath__get if _newclass:keypath_ = _swig_property(_canl.Context_keypath__get, _canl.Context_keypath__set) __swig_setmethods__["nssdbpath_"] = _canl.Context_nssdbpath__set __swig_getmethods__["nssdbpath_"] = _canl.Context_nssdbpath__get if _newclass:nssdbpath_ = _swig_property(_canl.Context_nssdbpath__get, _canl.Context_nssdbpath__set) __swig_setmethods__["last_error_"] = _canl.Context_last_error__set __swig_getmethods__["last_error_"] = _canl.Context_last_error__get if _newclass:last_error_ = _swig_property(_canl.Context_last_error__get, _canl.Context_last_error__set) Context_swigregister = _canl.Context_swigregister Context_swigregister(Context) class Validator(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Validator, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Validator, name) __repr__ = _swig_repr ValidationFull = _canl.Validator_ValidationFull ValidationNone = _canl.Validator_ValidationNone ValidationCRLNone = _canl.Validator_ValidationCRLNone ValidationCRLMandatory = _canl.Validator_ValidationCRLMandatory ValidationCRLIfValid = _canl.Validator_ValidationCRLIfValid ValidationCRLIfPresent = _canl.Validator_ValidationCRLIfPresent ValidationOCSPMandatory = _canl.Validator_ValidationOCSPMandatory ValidationOCSPIfPresent = _canl.Validator_ValidationOCSPIfPresent ValidationNamespaceNone = _canl.Validator_ValidationNamespaceNone ValidationNamespaceCheck = _canl.Validator_ValidationNamespaceCheck ValidationNamespaceLax = _canl.Validator_ValidationNamespaceLax ValidationProxyDisallow = _canl.Validator_ValidationProxyDisallow ValidationProxyAllow = _canl.Validator_ValidationProxyAllow ValidationBasic = _canl.Validator_ValidationBasic def __init__(self, *args): this = _canl.new_Validator(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_Validator __del__ = lambda self : None; def __nonzero__(self): return _canl.Validator___nonzero__(self) __bool__ = __nonzero__ def GetStatus(self): return _canl.Validator_GetStatus(self) def Copy(self): return _canl.Validator_Copy(self) def Mode(self): return _canl.Validator_Mode(self) def SetMode(self, *args): return _canl.Validator_SetMode(self, *args) def GetContext(self): return _canl.Validator_GetContext(self) def SetContext(self, *args): return _canl.Validator_SetContext(self, *args) def Validate(self, *args): return _canl.Validator_Validate(self, *args) Validator_swigregister = _canl.Validator_swigregister Validator_swigregister(Validator) class Credentials(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Credentials, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Credentials, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_Credentials(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_Credentials __del__ = lambda self : None; def __nonzero__(self): return _canl.Credentials___nonzero__(self) __bool__ = __nonzero__ def GetStatus(self): return _canl.Credentials_GetStatus(self) def Copy(self): return _canl.Credentials_Copy(self) def Assign(self, *args): return _canl.Credentials_Assign(self, *args) def GetCertificate(self, *args): return _canl.Credentials_GetCertificate(self, *args) def GetChain(self, *args): return _canl.Credentials_GetChain(self, *args) def GetPrivateKey(self, *args): return _canl.Credentials_GetPrivateKey(self, *args) def Validate(self): return _canl.Credentials_Validate(self) def Sign(self, *args): return _canl.Credentials_Sign(self, *args) def GetSubjectName(self): return _canl.Credentials_GetSubjectName(self) def GetIdentityName(self): return _canl.Credentials_GetIdentityName(self) def GetIssuerName(self, position = 0): return _canl.Credentials_GetIssuerName(self, position) def GetChainCert(self, *args): return _canl.Credentials_GetChainCert(self, *args) def GetValidFrom(self): return _canl.Credentials_GetValidFrom(self) def GetValidTill(self): return _canl.Credentials_GetValidTill(self) def GetSelfSigned(self): return _canl.Credentials_GetSelfSigned(self) def GetCA(self): return _canl.Credentials_GetCA(self) def GetProxy(self): return _canl.Credentials_GetProxy(self) def GetProxyLimited(self): return _canl.Credentials_GetProxyLimited(self) def GetProxyPolicy(self, *args): return _canl.Credentials_GetProxyPolicy(self, *args) def GetExtension(self, *args): return _canl.Credentials_GetExtension(self, *args) def GetAttributes(self, *args): return _canl.Credentials_GetAttributes(self, *args) def SetContext(self, *args): return _canl.Credentials_SetContext(self, *args) def GetContext(self): return _canl.Credentials_GetContext(self) def SetValidator(self, *args): return _canl.Credentials_SetValidator(self, *args) def GetValidator(self): return _canl.Credentials_GetValidator(self) Credentials_swigregister = _canl.Credentials_swigregister Credentials_swigregister(Credentials) class CredentialsRequest(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, CredentialsRequest, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, CredentialsRequest, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_CredentialsRequest(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_CredentialsRequest __del__ = lambda self : None; def __nonzero__(self): return _canl.CredentialsRequest___nonzero__(self) __bool__ = __nonzero__ def GetStatus(self): return _canl.CredentialsRequest_GetStatus(self) def Copy(self): return _canl.CredentialsRequest_Copy(self) def MakeKeys(self, *args): return _canl.CredentialsRequest_MakeKeys(self, *args) def MakeRequest(self): return _canl.CredentialsRequest_MakeRequest(self) def AssignKeys(self, *args): return _canl.CredentialsRequest_AssignKeys(self, *args) def AssignRequest(self, *args): return _canl.CredentialsRequest_AssignRequest(self, *args) def GetSubjectName(self): return _canl.CredentialsRequest_GetSubjectName(self) def SetSubjectName(self, *args): return _canl.CredentialsRequest_SetSubjectName(self, *args) def GetValidFrom(self): return _canl.CredentialsRequest_GetValidFrom(self) def SetValidFrom(self, *args): return _canl.CredentialsRequest_SetValidFrom(self, *args) def GetValidTill(self): return _canl.CredentialsRequest_GetValidTill(self) def SetValidTill(self, *args): return _canl.CredentialsRequest_SetValidTill(self, *args) def GetExtension(self, *args): return _canl.CredentialsRequest_GetExtension(self, *args) def AddExtension(self, *args): return _canl.CredentialsRequest_AddExtension(self, *args) def GetAttributes(self, *args): return _canl.CredentialsRequest_GetAttributes(self, *args) def AddAttributes(self, *args): return _canl.CredentialsRequest_AddAttributes(self, *args) def GetPublicKey(self, *args): return _canl.CredentialsRequest_GetPublicKey(self, *args) def GetPrivateKey(self, *args): return _canl.CredentialsRequest_GetPrivateKey(self, *args) def GetRequest(self, *args): return _canl.CredentialsRequest_GetRequest(self, *args) CredentialsRequest_swigregister = _canl.CredentialsRequest_swigregister CredentialsRequest_swigregister(CredentialsRequest) class CACredentialsRequest(CredentialsRequest): __swig_setmethods__ = {} for _s in [CredentialsRequest]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) __setattr__ = lambda self, name, value: _swig_setattr(self, CACredentialsRequest, name, value) __swig_getmethods__ = {} for _s in [CredentialsRequest]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) __getattr__ = lambda self, name: _swig_getattr(self, CACredentialsRequest, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_CACredentialsRequest(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_CACredentialsRequest __del__ = lambda self : None; def Copy(self): return _canl.CACredentialsRequest_Copy(self) def MakeRequest(self): return _canl.CACredentialsRequest_MakeRequest(self) def Assign(self, *args): return _canl.CACredentialsRequest_Assign(self, *args) def GetCertificate(self, *args): return _canl.CACredentialsRequest_GetCertificate(self, *args) CACredentialsRequest_swigregister = _canl.CACredentialsRequest_swigregister CACredentialsRequest_swigregister(CACredentialsRequest) class ProxyCredentialsRequest(CredentialsRequest): __swig_setmethods__ = {} for _s in [CredentialsRequest]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyCredentialsRequest, name, value) __swig_getmethods__ = {} for _s in [CredentialsRequest]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) __getattr__ = lambda self, name: _swig_getattr(self, ProxyCredentialsRequest, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_ProxyCredentialsRequest(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_ProxyCredentialsRequest __del__ = lambda self : None; def Copy(self): return _canl.ProxyCredentialsRequest_Copy(self) def GetLimited(self): return _canl.ProxyCredentialsRequest_GetLimited(self) def SetLimited(self, *args): return _canl.ProxyCredentialsRequest_SetLimited(self, *args) def GetPolicy(self, *args): return _canl.ProxyCredentialsRequest_GetPolicy(self, *args) def SetPolicy(self, *args): return _canl.ProxyCredentialsRequest_SetPolicy(self, *args) ProxyCredentialsRequest_swigregister = _canl.ProxyCredentialsRequest_swigregister ProxyCredentialsRequest_swigregister(ProxyCredentialsRequest) class IO(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IO, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, IO, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_IO(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_IO __del__ = lambda self : None; def __nonzero__(self): return _canl.IO___nonzero__(self) __bool__ = __nonzero__ def SetOwnCredentials(self, *args): return _canl.IO_SetOwnCredentials(self, *args) def GetOwnCredentials(self): return _canl.IO_GetOwnCredentials(self) def GetPeerCredentials(self): return _canl.IO_GetPeerCredentials(self) def SetValidator(self, *args): return _canl.IO_SetValidator(self, *args) def GetValidator(self): return _canl.IO_GetValidator(self) def Read(self, *args): return _canl.IO_Read(self, *args) def Write(self, *args): return _canl.IO_Write(self, *args) def Close(self): return _canl.IO_Close(self) def SetTimeout(self, *args): return _canl.IO_SetTimeout(self, *args) def GetTimeout(self): return _canl.IO_GetTimeout(self) def GetStatus(self): return _canl.IO_GetStatus(self) IO_swigregister = _canl.IO_swigregister IO_swigregister(IO) cvar = _canl.cvar IO.NotImplemented = _canl.cvar.IO_NotImplemented IO.CommunicationTimeout = _canl.cvar.IO_CommunicationTimeout class IONetwork(IO): __swig_setmethods__ = {} for _s in [IO]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) __setattr__ = lambda self, name, value: _swig_setattr(self, IONetwork, name, value) __swig_getmethods__ = {} for _s in [IO]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) __getattr__ = lambda self, name: _swig_getattr(self, IONetwork, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_IONetwork(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_IONetwork __del__ = lambda self : None; def Connect(self, *args): return _canl.IONetwork_Connect(self, *args) def Accept(self, *args): return _canl.IONetwork_Accept(self, *args) def __nonzero__(self): return _canl.IONetwork___nonzero__(self) __bool__ = __nonzero__ IONetwork_swigregister = _canl.IONetwork_swigregister IONetwork_swigregister(IONetwork) class IOSocket(IO): __swig_setmethods__ = {} for _s in [IO]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) __setattr__ = lambda self, name, value: _swig_setattr(self, IOSocket, name, value) __swig_getmethods__ = {} for _s in [IO]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{})) __getattr__ = lambda self, name: _swig_getattr(self, IOSocket, name) __repr__ = _swig_repr def __init__(self, *args): this = _canl.new_IOSocket(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _canl.delete_IOSocket __del__ = lambda self : None; def Connect(self, *args): return _canl.IOSocket_Connect(self, *args) def Accept(self, *args): return _canl.IOSocket_Accept(self, *args) def __nonzero__(self): return _canl.IOSocket___nonzero__(self) __bool__ = __nonzero__ IOSocket_swigregister = _canl.IOSocket_swigregister IOSocket_swigregister(IOSocket)