The MongoDB\Driver\Monitoring\ServerChangedEvent class
(mongodb >=1.13.0)
Einführung
The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description.
Klassenbeschreibung
Inhaltsverzeichnis
- MongoDB\Driver\Monitoring\ServerChangedEvent::getHost — Returns the hostname of the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getNewDescription — Returns the new description for the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPort — Returns the port on which this server is listening
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription — Returns the previous description for the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId — Returns the topology ID associated with this server