搜索

大约有 7 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.2906秒)

1.XSServer::connect

...rno . ', ' . $host . ':' . $port . ')'); } // set socket options $timeout = ini_get('max_execution_time'); $timeout = $timeout > 0 ? ($timeout - 1) : 30; stream_set_blocking($sock, true); stream_set_timeout($sock, $timeout); $this->_sock = $sock;} 连接服务端

2.XSServer::setTimeout

setTimeout() 方法 public void setTimeout(int $sec) $sec int 秒数, 设为 0则永不超时直到客户端主动关闭 源码: sdk/php/lib/XSServer.class.php#L264 (显示) public function setTimeout($sec){ $cmd = array('cmd' => XS_CMD_TIMEOUT, 'arg' => $sec); $this->execC...

3.XSServer

...缓存) XSServer setProject() 设置当前项目 XSServer setTimeout() 设置服务端超时秒数 XSServer Protected 方法 隐去继承来的方法 名称描述定义于 check() 检测服务端的连接情况 XSServer connect() 连接服务端 X...

4.XSServer::read

...a($this->_sock); $this->close(true); $reason = $meta['timed_out'] ? 'timeout' : ($meta['eof'] ? 'closed' : 'unknown'); $msg = 'Failed to recv the data from server completely '; $msg .= '(SIZE:' . ($size - $len) . '/' . $size . ', REASON:' . $reason . ')'; throw new XSException($msg);}...

5.XSServer::write

...>_sock); $this->close(true); $reason = $meta['timed_out'] ? 'timeout' : ($meta['eof'] ? 'closed' : 'unknown'); $msg = 'Failed to send the data to server completely '; $msg .= '(SIZE:' . ($size - $len) . '/' . $size . ', REASON:' . $reason . ')'; throw new XSExcepti...

6.XSJsonDataSource::getDataList

...L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) < 8191 || substr($bu...

7.XSJsonDataSource

...L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) < 8191 || substr($bu...

  • 时间不限
  • 按相关性排序