The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class

Introduction

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

Class synopsis

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