The MongoDB\Driver\Monitoring\ServerOpeningEvent class
The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server. This corresponds to a new server being added to the topology.
Intro
The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server. This corresponds to a new server being added to the topology.
Class synopsis
Properties
hostThe hostname of the server.
portThe port of the server.
topologyIdThe topology ID.
Changelog
| Version | Description |
|---|---|
| PECL mongodb 2.3.0 | Added public readonly properties. |
Serveropeningevent