The MongoDB\Driver\Monitoring\ServerOpeningEvent class
(mongodb >=1.13.0)
Einführung
The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server.
Klassenbeschreibung
Inhaltsverzeichnis
- 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