PHP Class Hprose\Swoole\Socket\Client

Inheritance: extends Hprose\Client
Show file Open project: hprose/hprose-swoole

Public Properties

Property Type Description
$fullDuplex
$host
$maxPoolSize
$noDelay
$poolTimeout
$port
$settings
$type

Public Methods

Method Description
__construct ( $uris = null )
close ( )
getHost ( )
getMaxPoolSize ( )
getPoolTimeout ( )
getPort ( )
getType ( )
isFullDuplex ( )
isNoDelay ( )
set ( $key, $value )
setFullDuplex ( $value )
setMaxPoolSize ( $value )
setNoDelay ( $value )
setPoolTimeout ( $value )

Protected Methods

Method Description
sendAndReceive ( $request, stdClass $context )
setUri ( $uri )
wait ( $interval, $callback )

Method Details

__construct() public method

public __construct ( $uris = null )

close() public method

public close ( )

getHost() public method

public getHost ( )

getMaxPoolSize() public method

public getMaxPoolSize ( )

getPoolTimeout() public method

public getPoolTimeout ( )

getPort() public method

public getPort ( )

getType() public method

public getType ( )

isFullDuplex() public method

public isFullDuplex ( )

isNoDelay() public method

public isNoDelay ( )

sendAndReceive() protected method

protected sendAndReceive ( $request, stdClass $context )
$context stdClass

set() public method

public set ( $key, $value )

setFullDuplex() public method

public setFullDuplex ( $value )

setMaxPoolSize() public method

public setMaxPoolSize ( $value )

setNoDelay() public method

public setNoDelay ( $value )

setPoolTimeout() public method

public setPoolTimeout ( $value )

setUri() protected method

protected setUri ( $uri )

wait() protected method

protected wait ( $interval, $callback )

Property Details

$fullDuplex public property

public $fullDuplex

$host public property

public $host

$maxPoolSize public property

public $maxPoolSize

$noDelay public property

public $noDelay

$poolTimeout public property

public $poolTimeout

$port public property

public $port

$settings public property

public $settings

$type public property

public $type