class Worker (View source)

Traits

Properties

protected int $pid Current PID from PidTrait
protected $instance
protected $looptime
protected $is_forever
protected $input_channel
protected $output_channel

Methods

int
getPid()

Get current PID.

from PidTrait
setPid(int $pid)

Set current PID.

from PidTrait
static 
create()

No description

getInstance()

No description

setInstance($instance)

No description

getLooptime()

No description

setLooptime($looptime)

No description

getForever()

No description

setForever($forever)

No description

getInputChannel()

No description

setInputChannel($input)

No description

getOutputChannel()

No description

setOutputChannel($output)

No description

Details

int getPid()

Get current PID.

Return Value

int

PidTrait setPid(int $pid)

Set current PID.

Parameters

int $pid

Return Value

PidTrait

static create()

getInstance()

setInstance($instance)

Parameters

$instance

getLooptime()

setLooptime($looptime)

Parameters

$looptime

getForever()

setForever($forever)

Parameters

$forever

getInputChannel()

setInputChannel($input)

Parameters

$input

getOutputChannel()

setOutputChannel($output)

Parameters

$output