The MongoDB\Driver\Monitoring\ServerChangedEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description.

类摘要

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

目录