PHP Class Aerys\CommandClient

Exibir arquivo Open project: amphp/aerys Class Usage Examples

Public Methods

Method Description
__construct ( string $config )
__destruct ( )
restart ( ) : Amp\Promise
socketPath ( string $config )
stop ( ) : Amp\Promise

Private Methods

Method Description
establish ( )
failAll ( )
send ( $msg ) : Amp\Promise
writer ( string $watcherId, $socket )

Method Details

__construct() public method

public __construct ( string $config )
$config string

__destruct() public method

public __destruct ( )

restart() public method

public restart ( ) : Amp\Promise
return Amp\Promise

socketPath() public static method

public static socketPath ( string $config )
$config string

stop() public method

public stop ( ) : Amp\Promise
return Amp\Promise