搜索

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

1.XSServer::check

check() 方法 protected void check() 源码: sdk/php/lib/XSServer.class.php#L438 (显示) protected function check(){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken ser...

2.XSIndex::addExdata

addExdata() 方法 public XSIndex addExdata(string $data, bool $check_file=true) $data string 要提交的命令封包数据, 或存储命令封包的文件路径, 编码必须已经是 UTF-8 $check_file bool 是否检测参数为文件的情况 {return} XSIndex 返回...

3.XSServer::hasRespond

.../lib/XSServer.class.php#L350 (显示) public function hasRespond(){ // check socket if ($this->_sock === null || $this->_flag & (self::BROKEN | self::FILE)) { return false; } $wfds = $xfds = array(); $rfds = array($this->_sock); $res = stream_select($rfds, $wfds, $xfds, 0, ...

4.XSServer

...ed 方法 隐去继承来的方法 名称描述定义于 check() 检测服务端的连接情况 XSServer connect() 连接服务端 XSServer read() 读取数据 XSServer write() 写入数据 XSServer 属性明细 _conn 属性 protected $_conn; ...

5.XSServer::read

... if ($len == 0) { return ''; } // loop to send data $this->check(); for ($buf = '', $size = $len;;) { $bytes = fread($this->_sock, $len); if ($bytes === false || strlen($bytes) == 0) { break; } $len -= strlen($bytes); $buf .= $bytes; ...

6.XSServer::write

...($buf)) == 0) { return true; } // loop to send data $this->check(); while (true) { $bytes = fwrite($this->_sock, $buf, $len); if ($bytes === false || $bytes === 0 || $bytes === $len) { break; } $len -= $bytes; $buf = substr($buf, $byte...

7.XSJsonDataSource::getDataList

...lass.php#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 || s...

8.XSIndex

...ed 方法 隐去继承来的方法 名称描述定义于 check() 检测服务端的连接情况 XSServer connect() 连接服务端 XSServer read() 读取数据 XSServer write() 写入数据 XSServer 属性明细 customDict 属性 public string...

9.XSServer::execCommand

...turn true; } // got the respond $res = $this->getRespond(); // check respond if ($res->cmd === XS_CMD_ERR && $res_cmd != XS_CMD_ERR) { throw new XSException($res->buf, $res->arg); } // got unexpected respond command if ($res->cmd != $res_cmd || ($res_arg != XS_CMD_NONE...

10.XSJsonDataSource

...lass.php#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 || s...

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