LibreofficeWorker
class LibreofficeWorker extends BaseWorker
Properties
| SystemWorkerController | $mod | from BaseWorker |
Methods
Send file to worker, convert
No description
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
No description
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
Is the conversion of the document supported according to our knowledge? Todo: We might be able to retrieve / populate this list dynamically from the worker later.. Todo: Do we want to support the old configurations?
Details
in
BaseWorker at line 15
__construct(SystemWorkerController $mod)
No description
in
BaseWorker at line 81
BaseWorker
applyXELOSConfigurationParameters()
No description
at line 50
bool
convertFileToPDF(string $sourceFile, string $targetFile)
Send file to worker, convert
at line 61
Base
getApiClient()
No description
in
BaseWorker at line 27
string|null
getApiHost()
No description
in
BaseWorker at line 143
array|null
getCallbackCheckResult(string $callbackUri, string|null $bearerToken = null)
Sends a request containing the callback URI in order to test, whether the callback can be called from the worker back to XELOS.
at line 54
static string
getIconClass()
No description
in
BaseWorker at line 128
protected int|null
getLocalPackageMaxLength()
Fetches the package max length from the environment variables (most likely the Docker environment) and calculates the length according to the unit.
in
BaseWorker at line 70
string
getName()
No description
in
BaseWorker at line 19
string
getWorkerID()
No description
in
BaseWorker at line 115
protected int
getWorkerPackageMaxLength()
Fetches the package_max_length setting from the video worker instance used for comparison with the local setting.
in
BaseWorker at line 157
array
getWorkerRequestLog()
Returns the logs of worker requests.
in
BaseWorker at line 57
array
getWorkerStats()
Retrieve current worker stats Currently this is primarily based upon Openswoole (see https://openswoole.com/docs/modules/swoole-server-stats )
at line 21
bool
isDocumentConversionSupported(string $pathToFile)
Is the conversion of the document supported according to our knowledge? Todo: We might be able to retrieve / populate this list dynamically from the worker later.. Todo: Do we want to support the old configurations?
in
BaseWorker at line 36
bool
isWorkerAvailable()
Can we connect to the worker service / container?