MongoDB\Driver\Monitoring\ServerChangedEvent::getPort

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerChangedEvent::getPortReturns the port on which this server is listening

Descrição

final public MongoDB\Driver\Monitoring\ServerChangedEvent::getPort(): int

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns the port on which this server is listening.

Erros/Exceções

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top