MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort — Returns the port on which this server is listening
Beschreibung
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns the port on which this server is listening.
Fehler/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.