|
static | heartbeat_handler ($signo) |
| Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More...
|
|
Definition at line 31 of file softwareHeritageAgent.php.
◆ __construct()
Fossology\SoftwareHeritage\softwareHeritageAgent::__construct |
( |
| ) |
|
◆ getSoftwareHeritageLicense()
Fossology\SoftwareHeritage\softwareHeritageAgent::getSoftwareHeritageLicense |
( |
|
$sha256 | ) |
|
|
protected |
◆ insertSoftwareHeritageRecord()
Fossology\SoftwareHeritage\softwareHeritageAgent::insertSoftwareHeritageRecord |
( |
|
$pfileId, |
|
|
|
$licenses, |
|
|
|
$agentId, |
|
|
|
$status |
|
) |
| |
|
protected |
Insert the License Details in softwareHeritage table.
- Parameters
-
int | $pfileId | |
array | $licenses | |
int | $agentId | |
- Returns
- boolean True if finished
Definition at line 216 of file softwareHeritageAgent.php.
◆ processEachPfileForSWH()
Fossology\SoftwareHeritage\softwareHeritageAgent::processEachPfileForSWH |
( |
|
$pfileDetail, |
|
|
|
$agentId, |
|
|
|
$maxTime |
|
) |
| |
process each pfile for software heritage and wait till the reset time
- Parameters
-
int | $pfileDetail | |
int | $maxTime | |
- Returns
- bool
Definition at line 148 of file softwareHeritageAgent.php.
◆ processUploadId()
Fossology\SoftwareHeritage\softwareHeritageAgent::processUploadId |
( |
|
$uploadId | ) |
|
◆ $agentDao
AgentDao Fossology\SoftwareHeritage\softwareHeritageAgent::$agentDao |
|
protected |
◆ $configuration
array Fossology\SoftwareHeritage\softwareHeritageAgent::$configuration |
|
private |
◆ $dbManeger
DbManager Fossology\SoftwareHeritage\softwareHeritageAgent::$dbManeger |
|
private |
◆ $licenseDao
LicenseDao Fossology\SoftwareHeritage\softwareHeritageAgent::$licenseDao |
|
private |
◆ $uploadDao
UploadDao Fossology\SoftwareHeritage\softwareHeritageAgent::$uploadDao |
|
private |
The documentation for this class was generated from the following file: