« MongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId
MongoDB\Driver\Monitoring\CommandFailedEvent::getReply »

MongoDB\Driver\Monitoring\CommandFailedEvent::getPort

(mongodb >=1.20.0)

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

説明

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

パラメータ

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

戻り値

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

エラー / 例外

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