From 958ded975f7e5dc0dee7767af63613466ee9ed4a Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Mon, 6 Mar 2017 00:54:05 -0800 Subject: PHP benchmarking performance client, proxied through Ruby Requires synchronous and single-threaded, so only 1 channel and 1 outstanding RPC per channel for now. No open-loop for now --- .../Grpc/Testing/ReconnectParams.php | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/php/tests/qps/generated_code/Grpc/Testing/ReconnectParams.php (limited to 'src/php/tests/qps/generated_code/Grpc/Testing/ReconnectParams.php') diff --git a/src/php/tests/qps/generated_code/Grpc/Testing/ReconnectParams.php b/src/php/tests/qps/generated_code/Grpc/Testing/ReconnectParams.php new file mode 100644 index 0000000000..9715855783 --- /dev/null +++ b/src/php/tests/qps/generated_code/Grpc/Testing/ReconnectParams.php @@ -0,0 +1,49 @@ + + * For reconnect interop test only. + * Client tells server what reconnection parameters it used. + * + * + * Protobuf type grpc.testing.ReconnectParams + */ +class ReconnectParams extends \Google\Protobuf\Internal\Message +{ + /** + * int32 max_reconnect_backoff_ms = 1; + */ + private $max_reconnect_backoff_ms = 0; + + public function __construct() { + \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce(); + parent::__construct(); + } + + /** + * int32 max_reconnect_backoff_ms = 1; + */ + public function getMaxReconnectBackoffMs() + { + return $this->max_reconnect_backoff_ms; + } + + /** + * int32 max_reconnect_backoff_ms = 1; + */ + public function setMaxReconnectBackoffMs($var) + { + GPBUtil::checkInt32($var); + $this->max_reconnect_backoff_ms = $var; + } + +} + -- cgit v1.2.3