34 lines
882 B
PHP
34 lines
882 B
PHP
<?php
|
|
|
|
namespace MongoDB\Driver\Monitoring;
|
|
|
|
use MongoDB\BSON\ObjectId;
|
|
|
|
/**
|
|
* @since 1.13.0
|
|
*/
|
|
final class ServerClosedEvent
|
|
{
|
|
final private function __construct() {}
|
|
|
|
/**
|
|
* Returns the port on which this server is listening
|
|
* @link https://www.php.net/manual/en/mongodb-driver-monitoring-serverclosedevent.getport.php
|
|
*/
|
|
final public function getPort(): int {}
|
|
|
|
/**
|
|
* Returns the hostname of the server
|
|
* @link https://www.php.net/manual/en/mongodb-driver-monitoring-serverclosedevent.gethost.php
|
|
*/
|
|
final public function getHost(): string {}
|
|
|
|
/**
|
|
* Returns the topology ID associated with this server
|
|
* @link https://www.php.net/manual/en/mongodb-driver-monitoring-serverclosedevent.gettopologyid.php
|
|
*/
|
|
final public function getTopologyId(): ObjectId {}
|
|
|
|
final public function __wakeup(): void {}
|
|
}
|