def __init__(self, bind, connect): 'Initialize the Proxy object.' self.__bind = bind self.__connect = connect self.__status = False self.__thread = False self.__lock = _thread.allocate_lock()