The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class

Introduction

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class encapsulates information about a started server heartbeat (i.e. » hello command issued through » server monitoring).

Class synopsis

MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
final class MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent {
/* Methods */
final public string getHost()
final public int getPort()
final public bool isAwaited()
}
Table of Contents