def get_proxy_mode(self): """ Returns the proxymode of the client. @return: one of the possible three values: PROXY_MODE_OFF, PROXY_MODE_PRIVATE, PROXY_MODE_SPEED """ self.dllock.acquire() try: return DownloadConfigInterface.get_proxy_mode(self) finally: self.dllock.release()