MongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\SDAMSubscriber::serverChangedNotification method for a server description change

Descripción

abstractpublicMongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged(MongoDB\Driver\Monitoring\ServerChangedEvent$event): void

If the subscriber has been registered, the driver will call this method when a server's description has changed.

Parámetros

event (MongoDB\Driver\Monitoring\ServerChangedEvent)

An event object encapsulating information about the changed server description.

Valores devueltos

No devuelve ningún valor.

Errores/Excepciones

Ver también

To Top