array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-sdamsubscriber.topologyopening.php', 1 => 'MongoDB\\Driver\\Monitoring\\SDAMSubscriber::topologyOpening', 2 => 'Notification method for opening the topology', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-sdamsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\SDAMSubscriber', ), 'prev' => array ( 0 => 'mongodb-driver-monitoring-sdamsubscriber.topologyclosed.php', 1 => 'MongoDB\\Driver\\Monitoring\\SDAMSubscriber::topologyClosed', ), 'next' => array ( 0 => 'class.mongodb-driver-monitoring-subscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\Subscriber', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyopening.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening — Notification method for opening the topology
$event): voidIf the subscriber is registered, this method is called when the topology is opened.
Зауваження: Due to the driver's connection handling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted » libmongoc client.
event (MongoDB\Driver\Monitoring\TopologyOpeningEvent)An event object encapsulating information about the opened topology.
Не повертає значень.