PHP Class Swoole\Client\SOA_Result

Datei anzeigen Open project: matyhtf/swoole_framework

Public Properties

Property Type Description
$callback mixed 回调函数
$code
$data
$id
$index
$msg
$requestId 请求串号
$send
$server_host string SOA服务器的IP地址
$server_port integer SOA服务器的端口
$socket TCP
$type 要发送的数据

Protected Properties

Property Type Description
$soa_client RPC

Public Methods

Method Description
__construct ( $soa_client ) 等待接收数据
getResult ( $timeout = 0.5 )

Method Details

__construct() public method

等待接收数据
public __construct ( $soa_client )

getResult() public method

public getResult ( $timeout = 0.5 )

Property Details

$callback public_oe property

回调函数
public mixed $callback
return mixed

$code public_oe property

public $code

$data public_oe property

public $data

$id public_oe property

public $id

$index public_oe property

public $index

$msg public_oe property

public $msg

$requestId public_oe property

请求串号
public $requestId

$send public_oe property

public $send

$server_host public_oe property

SOA服务器的IP地址
public string $server_host
return string

$server_port public_oe property

SOA服务器的端口
public int $server_port
return integer

$soa_client protected_oe property

protected RPC,Swoole\Client $soa_client
return RPC

$socket public_oe property

public TCP,Swoole\Client $socket
return TCP

$type public_oe property

要发送的数据
public $type