The MongoDB\Driver\Monitoring\ServerOpeningEvent class
(mongodb >=1.13.0)
简介
The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server. This corresponds to a new server being added to the topology.
类摘要
final
class MongoDB\Driver\Monitoring\ServerOpeningEvent
{
/* 方法 */
}目录
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getHost — Returns the hostname of the server
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getPort — Returns the port on which this server is listening
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId — Returns the topology ID associated with this server
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/class.mongodb-driver-monitoring-serveropeningevent.php