搜索

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

1.XSServer

XSServer All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSServer » XSComponent 子类 XSIndex, XSSearch 版本 1.0.0 源代码 sdk/php/lib/XSServer.class.php XSServer 服务器操作对象 同时兼容于 indexd, searchd, 所有交互均...

2.XSServer::__destruct

__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XSServer.class.php#L154 (显示) public function __destruct(){ $this->xs = null; $this->close();} 析构函数, 关闭连接

3.XSServer::getProject

getProject() 方法 public string getProject() {return} string 项目名称 源码: sdk/php/lib/XSServer.class.php#L241 (显示) public function getProject(){ return $this->_project;} 获取当前项目名称

4.XSServer::getSocket

getSocket() 方法 public mixed getSocket() {return} mixed 连接标识, 仅用于内部测试等目的 源码: sdk/php/lib/XSServer.class.php#L232 (显示) public function getSocket(){ return $this->_sock;} 获取连接资源描述符

5.XSServer::reopen

reopen() 方法 public XSServer reopen(bool $force=false) $force bool 是否强制重新连接, 默认为否 {return} XSServer 返回自己, 以便串接操作 源码: sdk/php/lib/XSServer.class.php#L185 (显示) public function reopen($force = false){ if ($this->_flag...

6.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...

7.XSServer::getConnString

...nnString() {return} string 连接字符串 源码: sdk/php/lib/XSServer.class.php#L217 (显示) public function getConnString(){ $str = $this->_conn; if (is_int($str) || is_numeric($str)) { $str = 'localhost:' . $str; } elseif (strpos($str, ':') === false) { $str ...

8.XSServer::sendCommand

...SCommand 实例或 cmd 构造函数的第一参数 源码: sdk/php/lib/XSServer.class.php#L321 (显示) public function sendCommand($cmd){ if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } $this->write(strval($cmd));} 往服务器直接发送指令 (无缓存)

9.XSServer::setTimeout

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

10.XSServer::__construct

...接参数 $xs XS 需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接

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