The MongoDB\Driver\Monitoring\ServerClosedEvent class

Introduction

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

Class synopsis

MongoDB\Driver\Monitoring\ServerClosedEvent
final class MongoDB\Driver\Monitoring\ServerClosedEvent {
/* Methods */
final public string getHost()
final public int getPort()
final public MongoDB\BSON\ObjectId getTopologyId()
}
Table of Contents