PHP 클래스 Kraken\Runtime\RuntimeModel

상속: implements Kraken\Runtime\RuntimeModelInterface
파일 보기 프로젝트 열기: kraken-php/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__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 ( )

보호된 메소드들

메소드 설명
getLoopState ( ) : integer
isLoopState ( integer $state ) : boolean
setLoopState ( integer $state )
startLoop ( )
stopLoop ( )

비공개 메소드들

메소드 설명
reflect ( mixed $object, mixed[] $params = [] ) : mixed

메소드 상세

__construct() 공개 메소드

public __construct ( string $parent, string $alias, string $name, string[] $args = [] )
$parent string
$alias string
$name string
$args string[]

__destruct() 공개 메소드

public __destruct ( )

create() 공개 메소드

public create ( )

destroy() 공개 메소드

public destroy ( )

fail() 공개 메소드

public fail ( $ex, $params = [] )

getAlias() 공개 메소드

public getAlias ( )

getArgs() 공개 메소드

public getArgs ( )

getCore() 공개 메소드

public getCore ( )

getEventEmitter() 공개 메소드

public getEventEmitter ( )

getHash() 공개 메소드

public getHash ( )

getLoop() 공개 메소드

public getLoop ( )

getLoopState() 보호된 메소드

protected getLoopState ( ) : integer
리턴 integer

getName() 공개 메소드

public getName ( )

getParent() 공개 메소드

public getParent ( )

getRuntimeManager() 공개 메소드

public getRuntimeManager ( )

getState() 공개 메소드

public getState ( )

getSupervisor() 공개 메소드

public getSupervisor ( )

getType() 공개 메소드

public getType ( )

isCreated() 공개 메소드

public isCreated ( )

isDestroyed() 공개 메소드

public isDestroyed ( )

isFailed() 공개 메소드

public isFailed ( )

isLoopState() 보호된 메소드

protected isLoopState ( integer $state ) : boolean
$state integer
리턴 boolean

isStarted() 공개 메소드

public isStarted ( )

isState() 공개 메소드

public isState ( $state )

isStopped() 공개 메소드

public isStopped ( )

setCore() 공개 메소드

public setCore ( Kraken\Core\CoreInterface $core = null )
$core Kraken\Core\CoreInterface

setEventEmitter() 공개 메소드

public setEventEmitter ( Kraken\Event\EventEmitterInterface $emitter = null )
$emitter Kraken\Event\EventEmitterInterface

setLoop() 공개 메소드

public setLoop ( Kraken\Loop\LoopExtendedInterface $loop = null )
$loop Kraken\Loop\LoopExtendedInterface

setLoopState() 보호된 메소드

protected setLoopState ( integer $state )
$state integer

setRuntimeManager() 공개 메소드

public setRuntimeManager ( Kraken\Runtime\RuntimeManagerInterface $manager = null )
$manager Kraken\Runtime\RuntimeManagerInterface

setState() 공개 메소드

public setState ( $state )

setSupervisor() 공개 메소드

public setSupervisor ( Kraken\Supervision\SupervisorInterface $supervisor = null )
$supervisor Kraken\Supervision\SupervisorInterface

start() 공개 메소드

public start ( )

startLoop() 보호된 메소드

protected startLoop ( )

state() 공개 메소드

public state ( )

stop() 공개 메소드

public stop ( )

stopLoop() 보호된 메소드

protected stopLoop ( )

succeed() 공개 메소드

public succeed ( )

supervisor() 공개 메소드

public supervisor ( )

프로퍼티 상세

$alias 보호되어 있는 프로퍼티

protected string $alias
리턴 string

$args 보호되어 있는 프로퍼티

protected string[] $args
리턴 string[]

$core 보호되어 있는 프로퍼티

protected CoreInterface,Kraken\Core $core
리턴 Kraken\Core\CoreInterface

$eventEmitter 보호되어 있는 프로퍼티

protected EventEmitterInterface,Kraken\Event $eventEmitter
리턴 Kraken\Event\EventEmitterInterface

$loop 보호되어 있는 프로퍼티

protected LoopExtendedInterface,Kraken\Loop $loop
리턴 Kraken\Loop\LoopExtendedInterface

$loopBackup 보호되어 있는 프로퍼티

protected LoopExtendedInterface,Kraken\Loop $loopBackup
리턴 Kraken\Loop\LoopExtendedInterface

$loopNextState 보호되어 있는 프로퍼티

protected int $loopNextState
리턴 integer

$loopState 보호되어 있는 프로퍼티

protected int $loopState
리턴 integer

$manager 보호되어 있는 프로퍼티

protected RuntimeManagerInterface,Kraken\Runtime $manager
리턴 Kraken\Runtime\RuntimeManagerInterface

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$parent 보호되어 있는 프로퍼티

protected string $parent
리턴 string

$state 보호되어 있는 프로퍼티

protected int $state
리턴 integer

$supervisor 보호되어 있는 프로퍼티

protected SupervisorInterface,Kraken\Supervision $supervisor
리턴 Kraken\Supervision\SupervisorInterface