Skip to content
Snippets Groups Projects
Commit 53347f2a authored by David Trattnig's avatar David Trattnig
Browse files

refact: set method visibility

parent 7af546c6
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ from multiprocessing import Lock ...@@ -29,6 +29,7 @@ from multiprocessing import Lock
from aura_engine.base.config import AuraConfig from aura_engine.base.config import AuraConfig
from aura_engine.base.exceptions import LQConnectionError from aura_engine.base.exceptions import LQConnectionError
from aura_engine.base.lang import private
from aura_engine.base.utils import SimpleUtil as SU from aura_engine.base.utils import SimpleUtil as SU
...@@ -143,6 +144,7 @@ class CoreConnection: ...@@ -143,6 +144,7 @@ class CoreConnection:
self.logger.error(SU.red(msg)) self.logger.error(SU.red(msg))
raise LQConnectionError(msg) raise LQConnectionError(msg)
@private
def read_all(self, timeout: int = 2) -> str: def read_all(self, timeout: int = 2) -> str:
""" """
Read data from the socket until `END` signal is received. Read data from the socket until `END` signal is received.
...@@ -170,6 +172,7 @@ class CoreConnection: ...@@ -170,6 +172,7 @@ class CoreConnection:
self.mutex.release() self.mutex.release()
return data return data
@private
def read(self) -> str: def read(self) -> str:
""" """
Read from socket and store return value in `self.message` and return it. Read from socket and store return value in `self.message` and return it.
...@@ -195,6 +198,7 @@ class CoreConnection: ...@@ -195,6 +198,7 @@ class CoreConnection:
return self.message return self.message
return None return None
@private
def log_debug(self, namespace: str, command: str, msg: str) -> bool: def log_debug(self, namespace: str, command: str, msg: str) -> bool:
""" """
Check if the command is excluded from debug logging. Check if the command is excluded from debug logging.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment