get_timeout#

TcpOslServer.get_timeout() float | None#

Get current timeout value for execution of commands.

Returns:
timeout: Optional[float]

Timeout in seconds to perform commands.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.

Deprecated since version 0.5.0: Use TcpOslServer.timeouts_register.default_value instead.