The MongoDB\Driver\Monitoring\ServerOpeningEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server. This corresponds to a new server being added to the topology.

类摘要

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

目录