PHP 클래스 GracefulDeath

파일 보기 프로젝트 열기: gabrielelana/graceful-death 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $main, $afterNaturalDeath, $afterViolentDeath, $reanimationPolicy, $options )
around ( $main )
run ( )

비공개 메소드들

메소드 설명
afterChildDeathWithStatus ( $status, $attempts, $lastWill )
canTryAnotherTime ( $status, $attempts, $lastWill )
catchAndForwardSignalTo ( $pid )
catchSignalsFor ( $life )
exitStatusOfLastChild ( $status )
waitUntilProcessDiesAndReturnStatus ( $pid )

메소드 상세

__construct() 공개 메소드

public __construct ( $main, $afterNaturalDeath, $afterViolentDeath, $reanimationPolicy, $options )

around() 공개 정적인 메소드

public static around ( $main )

run() 공개 메소드

public run ( )