...){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况
... file or directory[/color] #0 XSDataSource.class.php(180): XSDatabasePDO->connect(Array) #1 XSDataSource.class.php(35): XSDatabaseDataSource->init() #2 XSDataSource.class.php(51): XSDataSource->__construct('mysql://root:12...', 'SELECT * FROM d...') #3 Indexer.php(244): XSDataSource::instance('m...
...述定义于 check() 检测服务端的连接情况 XSServer connect() 连接服务端 XSServer read() 读取数据 XSServer write() 写入数据 XSServer 属性明细 _conn 属性 protected $_conn; _flag 属性 protected $_flag; _project 属...