endurox.tploggetbufreqfile

endurox.tploggetbufreqfile(data: object) str

Extract request file from the UBF buffer. At current Enduro/X version this just reads EX_NREQLOGFILE field from the buffer and returns value.

For more details see tploggetbufreqfile(3) C API call.

Raises:

AtmiException

Following error codes may be present:
TPENOENT - Request file name not present or UBF error.
TPEINVAL - Invalid UBF buffer.

Parameters:

data (dict) – UBF buffer, where to search for EX_NREQLOGFILE field.

Returns:

ret – Request file name.

Return type:

str