PHP Class Server, zys

It provides basic name resolution features and the ability to rotate between different IP addresses belonging to a single DNS name.
Author: Sebastian Staudt
Mostra file Open project: qieangel2013/zys Class Usage Examples

Public Properties

Property Type Description
$noDelay
$server
$settings

Public Methods

Method Description
__construct ( $uri, $mode = SWOOLE_BASE )
addListener ( $uri )
isNoDelay ( )
listen ( $host, $port, $type = SWOOLE_SOCK_TCP )
on ( $name, $callback )
set ( $settings )
setNoDelay ( $value )
start ( )

Private Methods

Method Description
parseUrl ( $uri )

Method Details

__construct() public method

public __construct ( $uri, $mode = SWOOLE_BASE )

addListener() public method

public addListener ( $uri )

isNoDelay() public method

public isNoDelay ( )

listen() public method

public listen ( $host, $port, $type = SWOOLE_SOCK_TCP )

on() public method

public on ( $name, $callback )

set() public method

public set ( $settings )

setNoDelay() public method

public setNoDelay ( $value )

start() public method

public start ( )

Property Details

$noDelay public_oe property

public $noDelay

$server public_oe property

public $server

$settings public_oe property

public $settings