\App\GatewayModule\ModelsDiagnosticsManager

Gateway diagnostics tool

Summary

Methods
Properties
Constants
__construct()
download()
addConfiguration()
addMetadata()
addScheduler()
addDaemonLog()
addDmesg()
addInfo()
addServices()
addSpi()
addUsb()
addControllerLog()
addWebappLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$commandManager
$infoManager
$networkManager
$versionManager
$zipManager
$cacheDir
$confDir
$logDir
$path
N/A

Properties

$commandManager

$commandManager : \App\CoreModule\Models\CommandManager

Type

normal — Command manager

$infoManager

$infoManager : \App\GatewayModule\Models\InfoManager

Type

normal — Gateway info manager

$networkManager

$networkManager : \App\GatewayModule\Models\NetworkManager

Type

normal — Network manager

$versionManager

$versionManager : \App\GatewayModule\Models\VersionManager

Type

normal — Version manager

$zipManager

$zipManager : \App\CoreModule\Models\ZipArchiveManager

Type

normal — ZIP archive manager

$cacheDir

$cacheDir : string

Type

normal — Path to a directory with IQRF Gateway Daemon's cache

$confDir

$confDir : string

Type

normal — Path to a directory with IQRF Gateway Daemon's configuration

$logDir

$logDir : string

Type

normal — Path to a directory with log files of IQRF Gateway Daemon

$path

$path : string

Type

normal — Path to ZIP archive

Methods

__construct()

__construct(string  $confDir, string  $logDir, \App\CoreModule\Models\CommandManager  $commandManager, \App\GatewayModule\Models\InfoManager  $infoManager, \App\ConfigModule\Models\MainManager  $mainManager, \App\GatewayModule\Models\NetworkManager  $networkManager, \App\GatewayModule\Models\VersionManager  $versionManager) : mixed

Constructor

Parameters

string $confDir

Path to a directory with IQRF Gateway Daemon's configuration

string $logDir

Path to a directory with log files of IQRF Gateway Daemon

\App\CoreModule\Models\CommandManager $commandManager

Command manager

\App\GatewayModule\Models\InfoManager $infoManager

Gateway Info manager

\App\ConfigModule\Models\MainManager $mainManager

Main configuration manager

\App\GatewayModule\Models\NetworkManager $networkManager

Network manager

\App\GatewayModule\Models\VersionManager $versionManager

Version manager

Returns

mixed

download()

download() : \Nette\Application\Responses\FileResponse

Downloads a diagnostic data

Throws

\Nette\Application\BadRequestException
\Nette\Utils\JsonException

Returns

\Nette\Application\Responses\FileResponse —

HTTP response with the diagnostic data

addConfiguration()

addConfiguration() : void

Adds a configuration of IQRF Gateway Daemon

addMetadata()

addMetadata() : void

Adds IQRF Gateway Daemon's metadata

addScheduler()

addScheduler() : void

Adds a configuration of IQRF Gateway Daemon's scheduler

addDaemonLog()

addDaemonLog() : void

Adds logs of IQRF Gateway Daemon

addDmesg()

addDmesg() : void

Adds information from dmesg command

addInfo()

addInfo() : void

Adds basic information about the gateway

Throws

\Nette\Utils\JsonException

addServices()

addServices() : void

Adds information about services

addSpi()

addSpi() : void

Adds information about available SPI interfaces

addUsb()

addUsb() : void

Adds information from lsusb about USB gateways and programmers

addControllerLog()

addControllerLog() : void

Adds logs of IQRF Gateway Controller

addWebappLog()

addWebappLog() : void

Adds logs of IQRF Gateway Webapp