PHP Interface Kraken\Loop\LoopExtendedInterface

Inheritance: extends Kraken\Loop\LoopInterface
Afficher le fichier Open project: kraken-php/framework Interface Usage Examples

Méthodes publiques

Méthode Description
erase ( boolean $all = false ) : Kraken\Loop\LoopExtendedInterface Erase loop.
export ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface Export loop not fired handlers and/or streams to another loop model.
getFlowController ( ) : FlowController Return FlowController used by model.
getModel ( ) : Kraken\Loop\LoopModelInterface
import ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface Import handlers and/or streams from another loop model.
setFlowController ( mixed $flowController ) Set FlowController used by model.
start ( ) Run the loop until there are no more tasks to perform.
stop ( ) Instruct a running event loop to stop.
swap ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface Swap handlers and/or stream between loop models.
tick ( ) Perform a single iteration of the event loop.

Method Details

erase() public méthode

Erase loop.
public erase ( boolean $all = false ) : Kraken\Loop\LoopExtendedInterface
$all boolean
Résultat Kraken\Loop\LoopExtendedInterface

export() public méthode

Export loop not fired handlers and/or streams to another loop model.
public export ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface
$loop Kraken\Loop\LoopExtendedInterface
$all boolean
Résultat Kraken\Loop\LoopExtendedInterface

getFlowController() public méthode

Return FlowController used by model.
public getFlowController ( ) : FlowController
Résultat Kraken\Loop\Flow\FlowController

getModel() public méthode

public getModel ( ) : Kraken\Loop\LoopModelInterface
Résultat Kraken\Loop\LoopModelInterface

import() public méthode

Import handlers and/or streams from another loop model.
public import ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface
$loop Kraken\Loop\LoopExtendedInterface
$all boolean
Résultat Kraken\Loop\LoopExtendedInterface

setFlowController() public méthode

Set FlowController used by model.
public setFlowController ( mixed $flowController )
$flowController mixed

start() public méthode

Run the loop until there are no more tasks to perform.
public start ( )

stop() public méthode

Instruct a running event loop to stop.
public stop ( )

swap() public méthode

Swap handlers and/or stream between loop models.
public swap ( Kraken\Loop\LoopExtendedInterface $loop, boolean $all = false ) : Kraken\Loop\LoopExtendedInterface
$loop Kraken\Loop\LoopExtendedInterface
$all boolean
Résultat Kraken\Loop\LoopExtendedInterface

tick() public méthode

Perform a single iteration of the event loop.
public tick ( )