PHP Class PHPDaemon\Examples\ExampleAsteriskClient

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

Méthodes publiques

Свойство Type Description
$asteriskclient
$asteriskconn

Méthodes publiques

Méthode Description
connect ( )
init ( ) : void Constructor.
onReady ( ) : void Called when the worker is ready to go.
onShutdown ( $graceful = false ) : 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

Method Details

connect() public méthode

public connect ( )

getConfigDefaults() protected méthode

Setting default config options Overriden from AppInstance::getConfigDefaults
protected getConfigDefaults ( ) : array | false
Résultat array | false

init() public méthode

Constructor.
public init ( ) : 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 ( $graceful = false ) : boolean
Résultat boolean Ready to shutdown?

Property Details

$asteriskclient public_oe property

public $asteriskclient

$asteriskconn public_oe property

public $asteriskconn