PHP Class Laravoole\Wrapper\Swoole

Inheritance: extends Laravoole\Base, implements Laravoole\Wrapper\ServerInterface
Show file Open project: acabin/laravoole Class Usage Examples

Protected Properties

Property Type Description
$callbacks

Public Methods

Method Description
close ( $fd )
getLogFile ( )
getParams ( ) http://wiki.swoole.com/wiki/page/274.html
getPid ( )
on ( $event, callable $callback )
onServerShutdown ( $serv )
onServerStart ( )
onWorkerStart ( $serv, $worker_id )
send ( $fd, $content )
start ( )

Method Details

close() public method

public close ( $fd )

getLogFile() public static method

public static getLogFile ( )

getParams() public static method

http://wiki.swoole.com/wiki/page/274.html
public static getParams ( )

getPid() public method

public getPid ( )

on() public method

public on ( $event, callable $callback )
$callback callable

onServerShutdown() public method

public onServerShutdown ( $serv )

onServerStart() public method

public onServerStart ( )

onWorkerStart() public method

public onWorkerStart ( $serv, $worker_id )

send() public method

public send ( $fd, $content )

start() public method

public start ( )

Property Details

$callbacks protected property

protected $callbacks