MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\SDAMSubscriber»MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening

MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpeningNotification method for opening a server

Descrizione

abstract public function MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening(MongoDB\Driver\Monitoring\ServerOpeningEvent $event): void

If the subscriber is registered, this method is called when a new server is added to the topology.

Elenco dei parametri

event (MongoDB\Driver\Monitoring\ServerOpeningEvent)
An event object encapsulating information about the opened server.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni

Vedere anche:

To Top