...rn} string 成功时返回读到的字符串 源码: sdk/php/lib/XSServer.class.php#L404 (显示) protected function read($len){ // quick return for zero size if ($len == 0) { return ''; } // loop to send data $this->check(); for ($buf = '', $size = $len;;) { ...
... {return} XSCommand 成功返回响应指令 源码: sdk/php/lib/XSServer.class.php#L334 (显示) public function getRespond(){ // read data from server $buf = $this->read(8); $hdr = unpack('Ccmd/Carg1/Carg2/Cblen1/Iblen', $buf); $res = new XSCommand($hdr); $res->buf = $this-...
XSServer All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSServer » XSComponent 子类 XSIndex, XSSearch 版本 1.0.0 源代码 sdk/php/lib/XSServer.class.php XSServer 服务器操作对象 同时兼容于 indexd, searchd, 所有交互均...
...an not open input file: '$file'"); } $this->line = 0; if (isset($_SERVER['XS_CSV_DELIMITER'])) { $this->delim = $_SERVER['XS_CSV_DELIMITER']; }}
...alued = array()){ $result = array('-' => array()); $params = isset($_SERVER['argv']) ? $_SERVER['argv'] : array(); for ($i = 0; $i < count($params); $i++) { if ($params[$i] === '--') { for ($i = $i + 1; $i < count($params); $i++) { $result['-'][] = $params[$...