The MongoDB\Driver\Monitoring\ServerClosedEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerClosedEvent class encapsulates information about a closed server. This corresponds to an existing server being removed from the topology.

类摘要

final class MongoDB\Driver\Monitoring\ServerClosedEvent {
/* 方法 */
final public getHost(): string
final public getPort(): int
}

目录