PHP 클래스 PHPDaemon\Examples\ExampleIRCBot

저자: Vasily Zorin ([email protected])
상속: extends PHPDaemon\Core\AppInstance
파일 보기 프로젝트 열기: kakserpom/phpdaemon

공개 프로퍼티들

프로퍼티 타입 설명
$client
$conn

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
getConfigDefaults ( ) : array | false Setting default config options Overriden from AppInstance::getConfigDefaults Uncomment and return array with your default options

메소드 상세

connect() 공개 메소드

public connect ( )

getConfigDefaults() 보호된 메소드

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

init() 공개 메소드

Constructor.
public init ( ) : void
리턴 void

onConfigUpdated() 공개 메소드

Called when worker is going to update configuration.
public onConfigUpdated ( ) : void
리턴 void

onReady() 공개 메소드

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

onShutdown() 공개 메소드

Called when application instance is going to shutdown.
public onShutdown ( ) : boolean
리턴 boolean Ready to shutdown?

프로퍼티 상세

$client 공개적으로 프로퍼티

public $client

$conn 공개적으로 프로퍼티

public $conn