Main task queue.
Tags for scheduled tasks.
protected bool $reconnect = true
private Application $application
public __construct(?string $applicationPath, ?string $configFile, string $env = 'development'): void
Parameter | Type | Description |
---|
$applicationPath | string | |
$configFile | string | |
$env | string | |
Returns the agent configuration.
public getConfig(): Config
public setSilent(bool $silent = true): void
Parameter | Type | Description |
---|
$silent | bool | |
public createConnection(Protocol $protocol, ?string $guid): Connection
Parameter | Type | Description |
---|
$protocol | Protocol | |
$guid | string | |
public registerServices(string $configFile = 'services'): void
Parameter | Type | Description |
---|
$configFile | string | |
protected processCommand(PacketType $command, ?\stdClass $payload): bool
Parameter | Type | Description |
---|
$command | PacketType | |
$payload | \stdClass | |
private scheduleRunner(string $when, Endpoint $endpoint, ?string $tag, bool $overwrite): string
Parameter | Type | Description |
---|
$when | string | |
$endpoint | Endpoint | |
$tag | string | |
$overwrite | bool | |
private taskQueueAdd(Task $task): void
Parameter | Type | Description |
---|
$task | Task | |
private taskCancel(string $taskID): bool
Parameter | Type | Description |
---|
$taskID | string | |
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:11 +0000