PHP Class PHPDaemon\Applications\CGIRequest

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

Méthodes publiques

Свойство Type Description
$proc PHPDaemon\Core\ShellCommand
$terminateOnAbort boolean

Méthodes publiques

Méthode Description
init ( ) : void Constructor.
onAbort ( ) : void Called when the request aborted.
onReadData ( object $process, string $data ) : void Called when new data received from process.
onWrite ( ShellCommand $process ) : void Called when the request aborted.
run ( ) : void Called when request iterated.
stdin ( string $c ) : void Called when new piece of request's body is received.

Method Details

init() public méthode

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

onAbort() public méthode

Called when the request aborted.
public onAbort ( ) : void
Résultat void

onReadData() public méthode

Called when new data received from process.
public onReadData ( object $process, string $data ) : void
$process object Process pointer.
$data string Data.
Résultat void

onWrite() public méthode

Called when the request aborted.
public onWrite ( ShellCommand $process ) : void
$process PHPDaemon\Core\ShellCommand
Résultat void

run() public méthode

Called when request iterated.
public run ( ) : void
Résultat void

stdin() public méthode

Called when new piece of request's body is received.
public stdin ( string $c ) : void
$c string Piece of request's body.
Résultat void

Property Details

$proc public_oe property

public ShellCommand,PHPDaemon\Core $proc
Résultat PHPDaemon\Core\ShellCommand

$terminateOnAbort public_oe property

public bool $terminateOnAbort
Résultat boolean