The MongoDB\Driver\Monitoring\ServerClosedEvent class
(mongodb >=1.13.0)
簡介
The MongoDB\Driver\Monitoring\ServerClosedEvent class encapsulates information about a closed server.
類摘要
final
class MongoDB\Driver\Monitoring\ServerClosedEvent
{
/* 方法 */
}目錄
- MongoDB\Driver\Monitoring\ServerClosedEvent::getHost — Returns the hostname of the server
- MongoDB\Driver\Monitoring\ServerClosedEvent::getPort — Returns the port on which this server is listening
- MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId — Returns the topology ID associated with this server