PHP Class pocketmine\Worker

Inheritance: extends Worker
Afficher le fichier Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Свойство Type Description
$classLoader ClassLoader
$isKilled

Méthodes publiques

Méthode Description
getClassLoader ( )
getThreadName ( )
quit ( ) Stops the thread using the best way possible. Try to stop it yourself before calling this.
registerClassLoader ( )
setClassLoader ( ClassLoader $loader = null )
start ( integer $options = PTHREADS_INHERIT_ALL )

Method Details

getClassLoader() public méthode

public getClassLoader ( )

getThreadName() public méthode

public getThreadName ( )

quit() public méthode

Stops the thread using the best way possible. Try to stop it yourself before calling this.
public quit ( )

registerClassLoader() public méthode

public registerClassLoader ( )

setClassLoader() public méthode

public setClassLoader ( ClassLoader $loader = null )
$loader ClassLoader

start() public méthode

public start ( integer $options = PTHREADS_INHERIT_ALL )
$options integer

Property Details

$classLoader protected_oe property

protected ClassLoader $classLoader
Résultat ClassLoader

$isKilled protected_oe property

protected $isKilled