Property | Type | Description | |
---|---|---|---|
$alias | string | ||
$args | string[] | ||
$core | Kraken\Core\CoreInterface | ||
$eventEmitter | Kraken\Event\EventEmitterInterface | ||
$loop | Kraken\Loop\LoopExtendedInterface | ||
$loopBackup | Kraken\Loop\LoopExtendedInterface | ||
$loopNextState | integer | ||
$loopState | integer | ||
$manager | Kraken\Runtime\RuntimeManagerInterface | ||
$name | string | ||
$parent | string | ||
$state | integer | ||
$supervisor | Kraken\Supervision\SupervisorInterface |
Method | Description | |
---|---|---|
__construct ( string $parent, string $alias, string $name, string[] $args = [] ) | ||
__destruct ( ) | ||
create ( ) | ||
destroy ( ) | ||
fail ( $ex, $params = [] ) | ||
getAlias ( ) | ||
getArgs ( ) | ||
getCore ( ) | ||
getEventEmitter ( ) | ||
getHash ( ) | ||
getLoop ( ) | ||
getName ( ) | ||
getParent ( ) | ||
getRuntimeManager ( ) | ||
getState ( ) | ||
getSupervisor ( ) | ||
getType ( ) | ||
isCreated ( ) | ||
isDestroyed ( ) | ||
isFailed ( ) | ||
isStarted ( ) | ||
isState ( $state ) | ||
isStopped ( ) | ||
setCore ( Kraken\Core\CoreInterface $core = null ) | ||
setEventEmitter ( Kraken\Event\EventEmitterInterface $emitter = null ) | ||
setLoop ( Kraken\Loop\LoopExtendedInterface $loop = null ) | ||
setRuntimeManager ( Kraken\Runtime\RuntimeManagerInterface $manager = null ) | ||
setState ( $state ) | ||
setSupervisor ( Kraken\Supervision\SupervisorInterface $supervisor = null ) | ||
start ( ) | ||
state ( ) | ||
stop ( ) | ||
succeed ( ) | ||
supervisor ( ) |
Method | Description | |
---|---|---|
getLoopState ( ) : integer | ||
isLoopState ( integer $state ) : boolean | ||
setLoopState ( integer $state ) | ||
startLoop ( ) | ||
stopLoop ( ) |
Method | Description | |
---|---|---|
reflect ( mixed $object, mixed[] $params = [] ) : mixed |
protected isLoopState ( integer $state ) : boolean | ||
$state | integer | |
return | boolean |
public setCore ( Kraken\Core\CoreInterface $core = null ) | ||
$core | Kraken\Core\CoreInterface |
public setEventEmitter ( Kraken\Event\EventEmitterInterface $emitter = null ) | ||
$emitter | Kraken\Event\EventEmitterInterface |
public setLoop ( Kraken\Loop\LoopExtendedInterface $loop = null ) | ||
$loop | Kraken\Loop\LoopExtendedInterface |
public setRuntimeManager ( Kraken\Runtime\RuntimeManagerInterface $manager = null ) | ||
$manager | Kraken\Runtime\RuntimeManagerInterface |
public setSupervisor ( Kraken\Supervision\SupervisorInterface $supervisor = null ) | ||
$supervisor | Kraken\Supervision\SupervisorInterface |
protected EventEmitterInterface,Kraken\Event $eventEmitter | ||
return | Kraken\Event\EventEmitterInterface |
protected LoopExtendedInterface,Kraken\Loop $loop | ||
return | Kraken\Loop\LoopExtendedInterface |
protected LoopExtendedInterface,Kraken\Loop $loopBackup | ||
return | Kraken\Loop\LoopExtendedInterface |
protected RuntimeManagerInterface,Kraken\Runtime $manager | ||
return | Kraken\Runtime\RuntimeManagerInterface |