« MongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId »

MongoDB\Driver\Monitoring\CommandStartedEvent::getPort

(mongodb >=1.20.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getPort — Returns the server port for the command

説明

final public function MongoDB\Driver\Monitoring\CommandStartedEvent::getPort(): int

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the port of the server on which the command was executed.

エラー / 例外

関連キーワード:
MongoDB   Driver   Monitoring   CommandStartedEvent   server   port   command   getPort   getOperationId   getRequestId   mongodb   final   executed   Throws   Exception   InvalidArgumentException   argument   parsing   errors
関連する関数・ページ:
mongodb-driver-monitoring-commandstartedevent.gethost   mongodb-driver-monitoring-commandstartedevent.getcommandname   mongodb-driver-monitoring-commandstartedevent.getserverconnectionid   mongodb-driver-monitoring-commandstartedevent.getrequestid   mongodb-driver-monitoring-commandstartedevent.getdatabasename   mongodb-driver-monitoring-commandstartedevent.getoperationid