PHP Class PHPDaemon\Examples\ExampleJabberbot

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Core\AppInstance
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Свойство Type Description
$xmppclient
$xmppconn

Méthodes publiques

Méthode Description
connect ( )
init ( ) : void Constructor.
onConfigUpdated ( ) : void Called when worker is going to update configuration.
onReady ( ) : void Called when the worker is ready to go.
onShutdown ( ) : boolean Called when application instance is going to shutdown.

Méthodes protégées

Méthode Description
getConfigDefaults ( ) : array | false Setting default config options Overriden from AppInstance::getConfigDefaults Uncomment and return array with your default options

Method Details

connect() public méthode

public connect ( )

getConfigDefaults() protected méthode

Setting default config options Overriden from AppInstance::getConfigDefaults Uncomment and return array with your default options
protected getConfigDefaults ( ) : array | false
Résultat array | false

init() public méthode

Constructor.
public init ( ) : void
Résultat void

onConfigUpdated() public méthode

Called when worker is going to update configuration.
public onConfigUpdated ( ) : void
Résultat void

onReady() public méthode

Called when the worker is ready to go.
public onReady ( ) : void
Résultat void

onShutdown() public méthode

Called when application instance is going to shutdown.
public onShutdown ( ) : boolean
Résultat boolean Ready to shutdown?

Property Details

$xmppclient public_oe property

public $xmppclient

$xmppconn public_oe property

public $xmppconn