PHP Class PHPDaemon\Examples\ExampleAsteriskClient

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

Public Properties

Property Type Description
$asteriskclient
$asteriskconn

Public Methods

Method 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.

Protected Methods

Method Description
getConfigDefaults ( ) : array | false Setting default config options Overriden from AppInstance::getConfigDefaults

Method Details

connect() public method

public connect ( )

getConfigDefaults() protected method

Setting default config options Overriden from AppInstance::getConfigDefaults
protected getConfigDefaults ( ) : array | false
return array | false

init() public method

Constructor.
public init ( ) : void
return void

onReady() public method

Called when the worker is ready to go.
public onReady ( ) : void
return void

onShutdown() public method

Called when application instance is going to shutdown.
public onShutdown ( $graceful = false ) : boolean
return boolean Ready to shutdown?

Property Details

$asteriskclient public_oe property

public $asteriskclient

$asteriskconn public_oe property

public $asteriskconn