mirror of https://github.com/grpc/grpc.git
commit
6613168ad6
76 changed files with 4693 additions and 6202 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,58 @@ |
||||
<?php |
||||
# Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
# source: helloworld.proto |
||||
|
||||
namespace Helloworld; |
||||
|
||||
use Google\Protobuf\Internal\DescriptorPool; |
||||
use Google\Protobuf\Internal\GPBType; |
||||
use Google\Protobuf\Internal\RepeatedField; |
||||
use Google\Protobuf\Internal\GPBUtil; |
||||
|
||||
class HelloRequest extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $name = ''; |
||||
|
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
public function setName($var) |
||||
{ |
||||
GPBUtil::checkString($var, True); |
||||
$this->name = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
class HelloReply extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $message = ''; |
||||
|
||||
public function getMessage() |
||||
{ |
||||
return $this->message; |
||||
} |
||||
|
||||
public function setMessage($var) |
||||
{ |
||||
GPBUtil::checkString($var, True); |
||||
$this->message = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
$pool = DescriptorPool::getGeneratedPool(); |
||||
|
||||
$pool->internalAddGeneratedFile(hex2bin( |
||||
"0ae6010a1068656c6c6f776f726c642e70726f746f120a68656c6c6f776f" . |
||||
"726c64221c0a0c48656c6c6f52657175657374120c0a046e616d65180120" . |
||||
"012809221d0a0a48656c6c6f5265706c79120f0a076d6573736167651801" . |
||||
"2001280932490a0747726565746572123e0a0853617948656c6c6f12182e" . |
||||
"68656c6c6f776f726c642e48656c6c6f526571756573741a162e68656c6c" . |
||||
"6f776f726c642e48656c6c6f5265706c79220042360a1b696f2e67727063" . |
||||
"2e6578616d706c65732e68656c6c6f776f726c64420f48656c6c6f576f72" . |
||||
"6c6450726f746f5001a20203484c57620670726f746f33" |
||||
)); |
||||
|
@ -1,168 +0,0 @@ |
||||
<?php |
||||
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 |
||||
// Source: helloworld.proto |
||||
// Date: 2015-09-24 20:40:14 |
||||
|
||||
namespace helloworld { |
||||
|
||||
class HelloRequest extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var string */ |
||||
public $name = null; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'helloworld.HelloRequest'); |
||||
|
||||
// OPTIONAL STRING name = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'name'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_STRING; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <name> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasName() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <name> value. |
||||
* |
||||
* @return \helloworld\HelloRequest |
||||
*/ |
||||
public function clearName() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <name> value. |
||||
* |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <name> value. |
||||
* |
||||
* @param string $value |
||||
* |
||||
* @return \helloworld\HelloRequest |
||||
*/ |
||||
public function setName($value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace helloworld { |
||||
|
||||
class HelloReply extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var string */ |
||||
public $message = null; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'helloworld.HelloReply'); |
||||
|
||||
// OPTIONAL STRING message = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'message'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_STRING; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <message> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasMessage() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <message> value. |
||||
* |
||||
* @return \helloworld\HelloReply |
||||
*/ |
||||
public function clearMessage() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <message> value. |
||||
* |
||||
* @return string |
||||
*/ |
||||
public function getMessage() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <message> value. |
||||
* |
||||
* @param string $value |
||||
* |
||||
* @return \helloworld\HelloReply |
||||
*/ |
||||
public function setMessage($value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace helloworld { |
||||
|
||||
class GreeterClient extends \Grpc\BaseStub |
||||
{ |
||||
public function __construct($hostname, $opts) |
||||
{ |
||||
parent::__construct($hostname, $opts); |
||||
} |
||||
/** |
||||
* @param helloworld\HelloRequest $input |
||||
*/ |
||||
public function SayHello(\helloworld\HelloRequest $argument, $metadata = array(), $options = array()) |
||||
{ |
||||
return $this->_simpleRequest('/helloworld.Greeter/SayHello', $argument, '\helloworld\HelloReply::deserialize', $metadata, $options); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,64 @@ |
||||
<?php |
||||
// GENERATED CODE -- DO NOT EDIT! |
||||
|
||||
// Original file comments: |
||||
// Copyright 2015, Google Inc. |
||||
// All rights reserved. |
||||
// |
||||
// Redistribution and use in source and binary forms, with or without |
||||
// modification, are permitted provided that the following conditions are |
||||
// met: |
||||
// |
||||
// * Redistributions of source code must retain the above copyright |
||||
// notice, this list of conditions and the following disclaimer. |
||||
// * Redistributions in binary form must reproduce the above |
||||
// copyright notice, this list of conditions and the following disclaimer |
||||
// in the documentation and/or other materials provided with the |
||||
// distribution. |
||||
// * Neither the name of Google Inc. nor the names of its |
||||
// contributors may be used to endorse or promote products derived from |
||||
// this software without specific prior written permission. |
||||
// |
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
// |
||||
namespace Helloworld { |
||||
|
||||
// The greeting service definition. |
||||
class GreeterClient extends \Grpc\BaseStub { |
||||
|
||||
/** |
||||
* @param string $hostname hostname |
||||
* @param array $opts channel options |
||||
* @param Grpc\Channel $channel (optional) re-use channel object |
||||
*/ |
||||
public function __construct($hostname, $opts, $channel = null) { |
||||
parent::__construct($hostname, $opts, $channel); |
||||
} |
||||
|
||||
/** |
||||
* Sends a greeting |
||||
* @param \Helloworld\HelloRequest $argument input argument |
||||
* @param array $metadata metadata |
||||
* @param array $options call options |
||||
*/ |
||||
public function SayHello(\Helloworld\HelloRequest $argument, |
||||
$metadata = [], $options = []) { |
||||
return $this->_simpleRequest('/helloworld.Greeter/SayHello', |
||||
$argument, |
||||
['\Helloworld\HelloReply', 'decode'], |
||||
$metadata, $options); |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,209 @@ |
||||
<?php |
||||
# Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
# source: route_guide.proto |
||||
|
||||
namespace Routeguide; |
||||
|
||||
use Google\Protobuf\Internal\DescriptorPool; |
||||
use Google\Protobuf\Internal\GPBType; |
||||
use Google\Protobuf\Internal\RepeatedField; |
||||
use Google\Protobuf\Internal\GPBUtil; |
||||
|
||||
class Point extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $latitude = 0; |
||||
private $longitude = 0; |
||||
|
||||
public function getLatitude() |
||||
{ |
||||
return $this->latitude; |
||||
} |
||||
|
||||
public function setLatitude($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->latitude = $var; |
||||
} |
||||
|
||||
public function getLongitude() |
||||
{ |
||||
return $this->longitude; |
||||
} |
||||
|
||||
public function setLongitude($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->longitude = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
class Rectangle extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $lo = null; |
||||
private $hi = null; |
||||
|
||||
public function getLo() |
||||
{ |
||||
return $this->lo; |
||||
} |
||||
|
||||
public function setLo(&$var) |
||||
{ |
||||
GPBUtil::checkMessage($var, \Routeguide\Point::class); |
||||
$this->lo = $var; |
||||
} |
||||
|
||||
public function getHi() |
||||
{ |
||||
return $this->hi; |
||||
} |
||||
|
||||
public function setHi(&$var) |
||||
{ |
||||
GPBUtil::checkMessage($var, \Routeguide\Point::class); |
||||
$this->hi = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
class Feature extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $name = ''; |
||||
private $location = null; |
||||
|
||||
public function getName() |
||||
{ |
||||
return $this->name; |
||||
} |
||||
|
||||
public function setName($var) |
||||
{ |
||||
GPBUtil::checkString($var, True); |
||||
$this->name = $var; |
||||
} |
||||
|
||||
public function getLocation() |
||||
{ |
||||
return $this->location; |
||||
} |
||||
|
||||
public function setLocation(&$var) |
||||
{ |
||||
GPBUtil::checkMessage($var, \Routeguide\Point::class); |
||||
$this->location = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
class RouteNote extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $location = null; |
||||
private $message = ''; |
||||
|
||||
public function getLocation() |
||||
{ |
||||
return $this->location; |
||||
} |
||||
|
||||
public function setLocation(&$var) |
||||
{ |
||||
GPBUtil::checkMessage($var, \Routeguide\Point::class); |
||||
$this->location = $var; |
||||
} |
||||
|
||||
public function getMessage() |
||||
{ |
||||
return $this->message; |
||||
} |
||||
|
||||
public function setMessage($var) |
||||
{ |
||||
GPBUtil::checkString($var, True); |
||||
$this->message = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
class RouteSummary extends \Google\Protobuf\Internal\Message |
||||
{ |
||||
private $point_count = 0; |
||||
private $feature_count = 0; |
||||
private $distance = 0; |
||||
private $elapsed_time = 0; |
||||
|
||||
public function getPointCount() |
||||
{ |
||||
return $this->point_count; |
||||
} |
||||
|
||||
public function setPointCount($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->point_count = $var; |
||||
} |
||||
|
||||
public function getFeatureCount() |
||||
{ |
||||
return $this->feature_count; |
||||
} |
||||
|
||||
public function setFeatureCount($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->feature_count = $var; |
||||
} |
||||
|
||||
public function getDistance() |
||||
{ |
||||
return $this->distance; |
||||
} |
||||
|
||||
public function setDistance($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->distance = $var; |
||||
} |
||||
|
||||
public function getElapsedTime() |
||||
{ |
||||
return $this->elapsed_time; |
||||
} |
||||
|
||||
public function setElapsedTime($var) |
||||
{ |
||||
GPBUtil::checkInt32($var); |
||||
$this->elapsed_time = $var; |
||||
} |
||||
|
||||
} |
||||
|
||||
$pool = DescriptorPool::getGeneratedPool(); |
||||
|
||||
$pool->internalAddGeneratedFile(hex2bin( |
||||
"0ac5050a11726f7574655f67756964652e70726f746f120a726f75746567" . |
||||
"75696465222c0a05506f696e7412100a086c617469747564651801200128" . |
||||
"0512110a096c6f6e67697475646518022001280522490a0952656374616e" . |
||||
"676c65121d0a026c6f18012001280b32112e726f75746567756964652e50" . |
||||
"6f696e74121d0a02686918022001280b32112e726f75746567756964652e" . |
||||
"506f696e74223c0a0746656174757265120c0a046e616d65180120012809" . |
||||
"12230a086c6f636174696f6e18022001280b32112e726f75746567756964" . |
||||
"652e506f696e7422410a09526f7574654e6f746512230a086c6f63617469" . |
||||
"6f6e18012001280b32112e726f75746567756964652e506f696e74120f0a" . |
||||
"076d65737361676518022001280922620a0c526f75746553756d6d617279" . |
||||
"12130a0b706f696e745f636f756e7418012001280512150a0d6665617475" . |
||||
"72655f636f756e7418022001280512100a0864697374616e636518032001" . |
||||
"280512140a0c656c61707365645f74696d651804200128053285020a0a52" . |
||||
"6f757465477569646512360a0a4765744665617475726512112e726f7574" . |
||||
"6567756964652e506f696e741a132e726f75746567756964652e46656174" . |
||||
"7572652200123e0a0c4c697374466561747572657312152e726f75746567" . |
||||
"756964652e52656374616e676c651a132e726f75746567756964652e4665" . |
||||
"617475726522003001123e0a0b5265636f7264526f75746512112e726f75" . |
||||
"746567756964652e506f696e741a182e726f75746567756964652e526f75" . |
||||
"746553756d6d61727922002801123f0a09526f7574654368617412152e72" . |
||||
"6f75746567756964652e526f7574654e6f74651a152e726f757465677569" . |
||||
"64652e526f7574654e6f746522002801300142360a1b696f2e677270632e" . |
||||
"6578616d706c65732e726f7574656775696465420f526f75746547756964" . |
||||
"6550726f746f5001a20203525447620670726f746f33" |
||||
)); |
||||
|
@ -1,789 +0,0 @@ |
||||
<?php |
||||
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 |
||||
// Source: route_guide.proto |
||||
// Date: 2015-09-24 21:21:51 |
||||
|
||||
namespace routeguide { |
||||
|
||||
class Point extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var int */ |
||||
public $latitude = 0; |
||||
|
||||
/** @var int */ |
||||
public $longitude = 0; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'routeguide.Point'); |
||||
|
||||
// OPTIONAL INT32 latitude = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'latitude'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL INT32 longitude = 2 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 2; |
||||
$f->name = 'longitude'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <latitude> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasLatitude() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <latitude> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function clearLatitude() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <latitude> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getLatitude() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <latitude> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function setLatitude($value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <longitude> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasLongitude() |
||||
{ |
||||
return $this->_has(2); |
||||
} |
||||
|
||||
/** |
||||
* Clear <longitude> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function clearLongitude() |
||||
{ |
||||
return $this->_clear(2); |
||||
} |
||||
|
||||
/** |
||||
* Get <longitude> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getLongitude() |
||||
{ |
||||
return $this->_get(2); |
||||
} |
||||
|
||||
/** |
||||
* Set <longitude> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function setLongitude($value) |
||||
{ |
||||
return $this->_set(2, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace routeguide { |
||||
|
||||
class Rectangle extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var \routeguide\Point */ |
||||
public $lo = null; |
||||
|
||||
/** @var \routeguide\Point */ |
||||
public $hi = null; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'routeguide.Rectangle'); |
||||
|
||||
// OPTIONAL MESSAGE lo = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'lo'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_MESSAGE; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->reference = '\routeguide\Point'; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL MESSAGE hi = 2 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 2; |
||||
$f->name = 'hi'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_MESSAGE; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->reference = '\routeguide\Point'; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <lo> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasLo() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <lo> value. |
||||
* |
||||
* @return \routeguide\Rectangle |
||||
*/ |
||||
public function clearLo() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <lo> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function getLo() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <lo> value. |
||||
* |
||||
* @param \routeguide\Point $value |
||||
* |
||||
* @return \routeguide\Rectangle |
||||
*/ |
||||
public function setLo(\routeguide\Point $value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <hi> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasHi() |
||||
{ |
||||
return $this->_has(2); |
||||
} |
||||
|
||||
/** |
||||
* Clear <hi> value. |
||||
* |
||||
* @return \routeguide\Rectangle |
||||
*/ |
||||
public function clearHi() |
||||
{ |
||||
return $this->_clear(2); |
||||
} |
||||
|
||||
/** |
||||
* Get <hi> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function getHi() |
||||
{ |
||||
return $this->_get(2); |
||||
} |
||||
|
||||
/** |
||||
* Set <hi> value. |
||||
* |
||||
* @param \routeguide\Point $value |
||||
* |
||||
* @return \routeguide\Rectangle |
||||
*/ |
||||
public function setHi(\routeguide\Point $value) |
||||
{ |
||||
return $this->_set(2, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace routeguide { |
||||
|
||||
class Feature extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var string */ |
||||
public $name = null; |
||||
|
||||
/** @var \routeguide\Point */ |
||||
public $location = null; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'routeguide.Feature'); |
||||
|
||||
// OPTIONAL STRING name = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'name'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_STRING; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL MESSAGE location = 2 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 2; |
||||
$f->name = 'location'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_MESSAGE; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->reference = '\routeguide\Point'; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <name> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasName() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <name> value. |
||||
* |
||||
* @return \routeguide\Feature |
||||
*/ |
||||
public function clearName() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <name> value. |
||||
* |
||||
* @return string |
||||
*/ |
||||
public function getName() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <name> value. |
||||
* |
||||
* @param string $value |
||||
* |
||||
* @return \routeguide\Feature |
||||
*/ |
||||
public function setName($value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <location> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasLocation() |
||||
{ |
||||
return $this->_has(2); |
||||
} |
||||
|
||||
/** |
||||
* Clear <location> value. |
||||
* |
||||
* @return \routeguide\Feature |
||||
*/ |
||||
public function clearLocation() |
||||
{ |
||||
return $this->_clear(2); |
||||
} |
||||
|
||||
/** |
||||
* Get <location> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function getLocation() |
||||
{ |
||||
return $this->_get(2); |
||||
} |
||||
|
||||
/** |
||||
* Set <location> value. |
||||
* |
||||
* @param \routeguide\Point $value |
||||
* |
||||
* @return \routeguide\Feature |
||||
*/ |
||||
public function setLocation(\routeguide\Point $value) |
||||
{ |
||||
return $this->_set(2, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace routeguide { |
||||
|
||||
class RouteNote extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var \routeguide\Point */ |
||||
public $location = null; |
||||
|
||||
/** @var string */ |
||||
public $message = null; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'routeguide.RouteNote'); |
||||
|
||||
// OPTIONAL MESSAGE location = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'location'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_MESSAGE; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->reference = '\routeguide\Point'; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL STRING message = 2 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 2; |
||||
$f->name = 'message'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_STRING; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <location> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasLocation() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <location> value. |
||||
* |
||||
* @return \routeguide\RouteNote |
||||
*/ |
||||
public function clearLocation() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <location> value. |
||||
* |
||||
* @return \routeguide\Point |
||||
*/ |
||||
public function getLocation() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <location> value. |
||||
* |
||||
* @param \routeguide\Point $value |
||||
* |
||||
* @return \routeguide\RouteNote |
||||
*/ |
||||
public function setLocation(\routeguide\Point $value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <message> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasMessage() |
||||
{ |
||||
return $this->_has(2); |
||||
} |
||||
|
||||
/** |
||||
* Clear <message> value. |
||||
* |
||||
* @return \routeguide\RouteNote |
||||
*/ |
||||
public function clearMessage() |
||||
{ |
||||
return $this->_clear(2); |
||||
} |
||||
|
||||
/** |
||||
* Get <message> value. |
||||
* |
||||
* @return string |
||||
*/ |
||||
public function getMessage() |
||||
{ |
||||
return $this->_get(2); |
||||
} |
||||
|
||||
/** |
||||
* Set <message> value. |
||||
* |
||||
* @param string $value |
||||
* |
||||
* @return \routeguide\RouteNote |
||||
*/ |
||||
public function setMessage($value) |
||||
{ |
||||
return $this->_set(2, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace routeguide { |
||||
|
||||
class RouteSummary extends \DrSlump\Protobuf\Message |
||||
{ |
||||
/** @var int */ |
||||
public $point_count = 0; |
||||
|
||||
/** @var int */ |
||||
public $feature_count = 0; |
||||
|
||||
/** @var int */ |
||||
public $distance = 0; |
||||
|
||||
/** @var int */ |
||||
public $elapsed_time = 0; |
||||
|
||||
/** @var \Closure[] */ |
||||
protected static $__extensions = array(); |
||||
|
||||
public static function descriptor() |
||||
{ |
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'routeguide.RouteSummary'); |
||||
|
||||
// OPTIONAL INT32 point_count = 1 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 1; |
||||
$f->name = 'point_count'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL INT32 feature_count = 2 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 2; |
||||
$f->name = 'feature_count'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL INT32 distance = 3 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 3; |
||||
$f->name = 'distance'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
// OPTIONAL INT32 elapsed_time = 4 |
||||
$f = new \DrSlump\Protobuf\Field(); |
||||
$f->number = 4; |
||||
$f->name = 'elapsed_time'; |
||||
$f->type = \DrSlump\Protobuf::TYPE_INT32; |
||||
$f->rule = \DrSlump\Protobuf::RULE_OPTIONAL; |
||||
$f->default = 0; |
||||
$descriptor->addField($f); |
||||
|
||||
foreach (self::$__extensions as $cb) { |
||||
$descriptor->addField($cb(), true); |
||||
} |
||||
|
||||
return $descriptor; |
||||
} |
||||
|
||||
/** |
||||
* Check if <point_count> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasPointCount() |
||||
{ |
||||
return $this->_has(1); |
||||
} |
||||
|
||||
/** |
||||
* Clear <point_count> value. |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function clearPointCount() |
||||
{ |
||||
return $this->_clear(1); |
||||
} |
||||
|
||||
/** |
||||
* Get <point_count> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getPointCount() |
||||
{ |
||||
return $this->_get(1); |
||||
} |
||||
|
||||
/** |
||||
* Set <point_count> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function setPointCount($value) |
||||
{ |
||||
return $this->_set(1, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <feature_count> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasFeatureCount() |
||||
{ |
||||
return $this->_has(2); |
||||
} |
||||
|
||||
/** |
||||
* Clear <feature_count> value. |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function clearFeatureCount() |
||||
{ |
||||
return $this->_clear(2); |
||||
} |
||||
|
||||
/** |
||||
* Get <feature_count> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getFeatureCount() |
||||
{ |
||||
return $this->_get(2); |
||||
} |
||||
|
||||
/** |
||||
* Set <feature_count> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function setFeatureCount($value) |
||||
{ |
||||
return $this->_set(2, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <distance> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasDistance() |
||||
{ |
||||
return $this->_has(3); |
||||
} |
||||
|
||||
/** |
||||
* Clear <distance> value. |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function clearDistance() |
||||
{ |
||||
return $this->_clear(3); |
||||
} |
||||
|
||||
/** |
||||
* Get <distance> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getDistance() |
||||
{ |
||||
return $this->_get(3); |
||||
} |
||||
|
||||
/** |
||||
* Set <distance> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function setDistance($value) |
||||
{ |
||||
return $this->_set(3, $value); |
||||
} |
||||
|
||||
/** |
||||
* Check if <elapsed_time> has a value. |
||||
* |
||||
* @return bool |
||||
*/ |
||||
public function hasElapsedTime() |
||||
{ |
||||
return $this->_has(4); |
||||
} |
||||
|
||||
/** |
||||
* Clear <elapsed_time> value. |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function clearElapsedTime() |
||||
{ |
||||
return $this->_clear(4); |
||||
} |
||||
|
||||
/** |
||||
* Get <elapsed_time> value. |
||||
* |
||||
* @return int |
||||
*/ |
||||
public function getElapsedTime() |
||||
{ |
||||
return $this->_get(4); |
||||
} |
||||
|
||||
/** |
||||
* Set <elapsed_time> value. |
||||
* |
||||
* @param int $value |
||||
* |
||||
* @return \routeguide\RouteSummary |
||||
*/ |
||||
public function setElapsedTime($value) |
||||
{ |
||||
return $this->_set(4, $value); |
||||
} |
||||
} |
||||
} |
||||
|
||||
namespace routeguide { |
||||
|
||||
class RouteGuideClient extends \Grpc\BaseStub |
||||
{ |
||||
public function __construct($hostname, $opts) |
||||
{ |
||||
parent::__construct($hostname, $opts); |
||||
} |
||||
/** |
||||
* @param routeguide\Point $input |
||||
*/ |
||||
public function GetFeature(\routeguide\Point $argument, $metadata = array(), $options = array()) |
||||
{ |
||||
return $this->_simpleRequest('/routeguide.RouteGuide/GetFeature', $argument, '\routeguide\Feature::deserialize', $metadata, $options); |
||||
} |
||||
/** |
||||
* @param routeguide\Rectangle $input |
||||
*/ |
||||
public function ListFeatures($argument, $metadata = array(), $options = array()) |
||||
{ |
||||
return $this->_serverStreamRequest('/routeguide.RouteGuide/ListFeatures', $argument, '\routeguide\Feature::deserialize', $metadata, $options); |
||||
} |
||||
/** |
||||
* @param routeguide\Point $input |
||||
*/ |
||||
public function RecordRoute($metadata = array()) |
||||
{ |
||||
return $this->_clientStreamRequest('/routeguide.RouteGuide/RecordRoute', '\routeguide\RouteSummary::deserialize', $metadata); |
||||
} |
||||
/** |
||||
* @param routeguide\RouteNote $input |
||||
*/ |
||||
public function RouteChat($metadata = array()) |
||||
{ |
||||
return $this->_bidiRequest('/routeguide.RouteGuide/RouteChat', '\routeguide\RouteNote::deserialize', $metadata); |
||||
} |
||||
} |
||||
} |
@ -1,120 +0,0 @@ |
||||
// Copyright 2015, Google Inc. |
||||
// All rights reserved. |
||||
// |
||||
// Redistribution and use in source and binary forms, with or without |
||||
// modification, are permitted provided that the following conditions are |
||||
// met: |
||||
// |
||||
// * Redistributions of source code must retain the above copyright |
||||
// notice, this list of conditions and the following disclaimer. |
||||
// * Redistributions in binary form must reproduce the above |
||||
// copyright notice, this list of conditions and the following disclaimer |
||||
// in the documentation and/or other materials provided with the |
||||
// distribution. |
||||
// * Neither the name of Google Inc. nor the names of its |
||||
// contributors may be used to endorse or promote products derived from |
||||
// this software without specific prior written permission. |
||||
// |
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
||||
syntax = "proto2"; |
||||
|
||||
option java_package = "io.grpc.examples"; |
||||
|
||||
package routeguide; |
||||
|
||||
// Interface exported by the server. |
||||
service RouteGuide { |
||||
// A simple RPC. |
||||
// |
||||
// Obtains the feature at a given position. |
||||
rpc GetFeature(Point) returns (Feature) {} |
||||
|
||||
// A server-to-client streaming RPC. |
||||
// |
||||
// Obtains the Features available within the given Rectangle. Results are |
||||
// streamed rather than returned at once (e.g. in a response message with a |
||||
// repeated field), as the rectangle may cover a large area and contain a |
||||
// huge number of features. |
||||
rpc ListFeatures(Rectangle) returns (stream Feature) {} |
||||
|
||||
// A client-to-server streaming RPC. |
||||
// |
||||
// Accepts a stream of Points on a route being traversed, returning a |
||||
// RouteSummary when traversal is completed. |
||||
rpc RecordRoute(stream Point) returns (RouteSummary) {} |
||||
|
||||
// A Bidirectional streaming RPC. |
||||
// |
||||
// Accepts a stream of RouteNotes sent while a route is being traversed, |
||||
// while receiving other RouteNotes (e.g. from other users). |
||||
rpc RouteChat(stream RouteNote) returns (stream RouteNote) {} |
||||
} |
||||
|
||||
// Points are represented as latitude-longitude pairs in the E7 representation |
||||
// (degrees multiplied by 10**7 and rounded to the nearest integer). |
||||
// Latitudes should be in the range +/- 90 degrees and longitude should be in |
||||
// the range +/- 180 degrees (inclusive). |
||||
message Point { |
||||
optional int32 latitude = 1 [default = 0]; |
||||
optional int32 longitude = 2 [default = 0]; |
||||
} |
||||
|
||||
// A latitude-longitude rectangle, represented as two diagonally opposite |
||||
// points "lo" and "hi". |
||||
message Rectangle { |
||||
// One corner of the rectangle. |
||||
optional Point lo = 1; |
||||
|
||||
// The other corner of the rectangle. |
||||
optional Point hi = 2; |
||||
} |
||||
|
||||
// A feature names something at a given point. |
||||
// |
||||
// If a feature could not be named, the name is empty. |
||||
message Feature { |
||||
// The name of the feature. |
||||
optional string name = 1; |
||||
|
||||
// The point where the feature is detected. |
||||
optional Point location = 2; |
||||
} |
||||
|
||||
// A RouteNote is a message sent while at a given point. |
||||
message RouteNote { |
||||
// The location from which the message is sent. |
||||
optional Point location = 1; |
||||
|
||||
// The message to be sent. |
||||
optional string message = 2; |
||||
} |
||||
|
||||
// A RouteSummary is received in response to a RecordRoute rpc. |
||||
// |
||||
// It contains the number of individual points received, the number of |
||||
// detected features, and the total distance covered as the cumulative sum of |
||||
// the distance between each point. |
||||
message RouteSummary { |
||||
// The number of points received. |
||||
optional int32 point_count = 1 [default = 0]; |
||||
|
||||
// The number of known features passed while traversing the route. |
||||
optional int32 feature_count = 2 [default = 0]; |
||||
|
||||
// The distance covered in metres. |
||||
optional int32 distance = 3 [default = 0]; |
||||
|
||||
// The duration of the traversal in seconds. |
||||
optional int32 elapsed_time = 4 [default = 0]; |
||||
} |
@ -0,0 +1,116 @@ |
||||
<?php |
||||
// GENERATED CODE -- DO NOT EDIT! |
||||
|
||||
// Original file comments: |
||||
// Copyright 2015, Google Inc. |
||||
// All rights reserved. |
||||
// |
||||
// Redistribution and use in source and binary forms, with or without |
||||
// modification, are permitted provided that the following conditions are |
||||
// met: |
||||
// |
||||
// * Redistributions of source code must retain the above copyright |
||||
// notice, this list of conditions and the following disclaimer. |
||||
// * Redistributions in binary form must reproduce the above |
||||
// copyright notice, this list of conditions and the following disclaimer |
||||
// in the documentation and/or other materials provided with the |
||||
// distribution. |
||||
// * Neither the name of Google Inc. nor the names of its |
||||
// contributors may be used to endorse or promote products derived from |
||||
// this software without specific prior written permission. |
||||
// |
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
// |
||||
namespace Routeguide { |
||||
|
||||
// Interface exported by the server. |
||||
class RouteGuideClient extends \Grpc\BaseStub { |
||||
|
||||
/** |
||||
* @param string $hostname hostname |
||||
* @param array $opts channel options |
||||
* @param Grpc\Channel $channel (optional) re-use channel object |
||||
*/ |
||||
public function __construct($hostname, $opts, $channel = null) { |
||||
parent::__construct($hostname, $opts, $channel); |
||||
} |
||||
|
||||
/** |
||||
* A simple RPC. |
||||
* |
||||
* Obtains the feature at a given position. |
||||
* |
||||
* A feature with an empty name is returned if there's no feature at the given |
||||
* position. |
||||
* @param \Routeguide\Point $argument input argument |
||||
* @param array $metadata metadata |
||||
* @param array $options call options |
||||
*/ |
||||
public function GetFeature(\Routeguide\Point $argument, |
||||
$metadata = [], $options = []) { |
||||
return $this->_simpleRequest('/routeguide.RouteGuide/GetFeature', |
||||
$argument, |
||||
['\Routeguide\Feature', 'decode'], |
||||
$metadata, $options); |
||||
} |
||||
|
||||
/** |
||||
* A server-to-client streaming RPC. |
||||
* |
||||
* Obtains the Features available within the given Rectangle. Results are |
||||
* streamed rather than returned at once (e.g. in a response message with a |
||||
* repeated field), as the rectangle may cover a large area and contain a |
||||
* huge number of features. |
||||
* @param \Routeguide\Rectangle $argument input argument |
||||
* @param array $metadata metadata |
||||
* @param array $options call options |
||||
*/ |
||||
public function ListFeatures(\Routeguide\Rectangle $argument, |
||||
$metadata = [], $options = []) { |
||||
return $this->_serverStreamRequest('/routeguide.RouteGuide/ListFeatures', |
||||
$argument, |
||||
['\Routeguide\Feature', 'decode'], |
||||
$metadata, $options); |
||||
} |
||||
|
||||
/** |
||||
* A client-to-server streaming RPC. |
||||
* |
||||
* Accepts a stream of Points on a route being traversed, returning a |
||||
* RouteSummary when traversal is completed. |
||||
* @param array $metadata metadata |
||||
* @param array $options call options |
||||
*/ |
||||
public function RecordRoute($metadata = [], $options = []) { |
||||
return $this->_clientStreamRequest('/routeguide.RouteGuide/RecordRoute', |
||||
['\Routeguide\RouteSummary','decode'], |
||||
$metadata, $options); |
||||
} |
||||
|
||||
/** |
||||
* A Bidirectional streaming RPC. |
||||
* |
||||
* Accepts a stream of RouteNotes sent while a route is being traversed, |
||||
* while receiving other RouteNotes (e.g. from other users). |
||||
* @param array $metadata metadata |
||||
* @param array $options call options |
||||
*/ |
||||
public function RouteChat($metadata = [], $options = []) { |
||||
return $this->_bidiRequest('/routeguide.RouteGuide/RouteChat', |
||||
['\Routeguide\RouteNote','decode'], |
||||
$metadata, $options); |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,2 @@ |
||||
bin |
||||
obj |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"frameworks": { |
||||
"net45": { } |
||||
}, |
||||
"runtimes": { |
||||
"win": { } |
||||
} |
||||
} |
@ -0,0 +1,10 @@ |
||||
<StyleCopSettings Version="105"> |
||||
<SourceFileList> |
||||
<SourceFile>Health.cs</SourceFile> |
||||
<Settings> |
||||
<GlobalSettings> |
||||
<BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty> |
||||
</GlobalSettings> |
||||
</Settings> |
||||
</SourceFileList> |
||||
</StyleCopSettings> |
@ -0,0 +1,91 @@ |
||||
#region Copyright notice and license |
||||
|
||||
// Copyright 2015, Google Inc. |
||||
// All rights reserved. |
||||
// |
||||
// Redistribution and use in source and binary forms, with or without |
||||
// modification, are permitted provided that the following conditions are |
||||
// met: |
||||
// |
||||
// * Redistributions of source code must retain the above copyright |
||||
// notice, this list of conditions and the following disclaimer. |
||||
// * Redistributions in binary form must reproduce the above |
||||
// copyright notice, this list of conditions and the following disclaimer |
||||
// in the documentation and/or other materials provided with the |
||||
// distribution. |
||||
// * Neither the name of Google Inc. nor the names of its |
||||
// contributors may be used to endorse or promote products derived from |
||||
// this software without specific prior written permission. |
||||
// |
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
||||
#endregion |
||||
|
||||
using System; |
||||
using System.Threading.Tasks; |
||||
using Grpc.Core; |
||||
|
||||
namespace Grpc.Core.Testing |
||||
{ |
||||
/// <summary> |
||||
/// Test doubles for client-side call objects. |
||||
/// </summary> |
||||
public static class TestCalls |
||||
{ |
||||
/// <summary> |
||||
/// Creates a test double for <c>AsyncUnaryCall</c>. Only for testing. |
||||
/// Note: experimental API that can change or be removed without any prior notice. |
||||
/// </summary> |
||||
public static AsyncUnaryCall<TResponse> AsyncUnaryCall<TResponse> ( |
||||
Task<TResponse> responseAsync, Task<Metadata> responseHeadersAsync, Func<Status> getStatusFunc, |
||||
Func<Metadata> getTrailersFunc, Action disposeAction) |
||||
{ |
||||
return new AsyncUnaryCall<TResponse>(responseAsync, responseHeadersAsync, getStatusFunc, getTrailersFunc, disposeAction); |
||||
} |
||||
|
||||
/// <summary> |
||||
/// Creates a test double for <c>AsyncClientStreamingCall</c>. Only for testing. |
||||
/// Note: experimental API that can change or be removed without any prior notice. |
||||
/// </summary> |
||||
public static AsyncClientStreamingCall<TRequest, TResponse> AsyncClientStreamingCall<TRequest, TResponse>( |
||||
IClientStreamWriter<TRequest> requestStream, Task<TResponse> responseAsync, |
||||
Task<Metadata> responseHeadersAsync, Func<Status> getStatusFunc, |
||||
Func<Metadata> getTrailersFunc, Action disposeAction) |
||||
{ |
||||
return new AsyncClientStreamingCall<TRequest, TResponse>(requestStream, responseAsync, responseHeadersAsync, getStatusFunc, getTrailersFunc, disposeAction); |
||||
} |
||||
|
||||
/// <summary> |
||||
/// Creates a test double for <c>AsyncServerStreamingCall</c>. Only for testing. |
||||
/// Note: experimental API that can change or be removed without any prior notice. |
||||
/// </summary> |
||||
public static AsyncServerStreamingCall<TResponse> AsyncServerStreamingCall<TResponse>( |
||||
IAsyncStreamReader<TResponse> responseStream, Task<Metadata> responseHeadersAsync, |
||||
Func<Status> getStatusFunc, Func<Metadata> getTrailersFunc, Action disposeAction) |
||||
{ |
||||
return new AsyncServerStreamingCall<TResponse>(responseStream, responseHeadersAsync, getStatusFunc, getTrailersFunc, disposeAction); |
||||
} |
||||
|
||||
/// <summary> |
||||
/// Creates a test double for <c>AsyncDuplexStreamingCall</c>. Only for testing. |
||||
/// Note: experimental API that can change or be removed without any prior notice. |
||||
/// </summary> |
||||
public static AsyncDuplexStreamingCall<TRequest, TResponse> AsyncDuplexStreamingCall<TResponse, TRequest>( |
||||
IClientStreamWriter<TRequest> requestStream, IAsyncStreamReader<TResponse> responseStream, |
||||
Task<Metadata> responseHeadersAsync, Func<Status> getStatusFunc, |
||||
Func<Metadata> getTrailersFunc, Action disposeAction) |
||||
{ |
||||
return new AsyncDuplexStreamingCall<TRequest, TResponse>(requestStream, responseStream, responseHeadersAsync, getStatusFunc, getTrailersFunc, disposeAction); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,39 @@ |
||||
{ |
||||
"version": "1.2.0-dev", |
||||
"title": "gRPC C# Core Testing", |
||||
"authors": [ "Google Inc." ], |
||||
"copyright": "Copyright 2017, Google Inc.", |
||||
"packOptions": { |
||||
"summary": "Testing support for gRPC C#", |
||||
"description": "Useful when testing code that uses gRPC.", |
||||
"owners": [ "grpc-packages" ], |
||||
"licenseUrl": "https://github.com/grpc/grpc/blob/master/LICENSE", |
||||
"projectUrl": "https://github.com/grpc/grpc", |
||||
"requireLicenseAcceptance": false, |
||||
"tags": [ "gRPC test testing" ] |
||||
}, |
||||
"buildOptions": { |
||||
"define": [ "SIGNED" ], |
||||
"keyFile": "../keys/Grpc.snk", |
||||
"xmlDoc": true, |
||||
"compile": { |
||||
"includeFiles": [ "../Grpc.Core/Version.cs" ] |
||||
} |
||||
}, |
||||
"dependencies": { |
||||
"Grpc.Core": "1.2.0-dev" |
||||
}, |
||||
"frameworks": { |
||||
"net45": { |
||||
"frameworkAssemblies": { |
||||
"System.Runtime": "", |
||||
"System.IO": "" |
||||
} |
||||
}, |
||||
"netstandard1.5": { |
||||
"dependencies": { |
||||
"NETStandard.Library": "1.6.0" |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,41 @@ |
||||
%YAML 1.2 |
||||
--- | |
||||
{ |
||||
"version": "${settings.csharp_version}", |
||||
"title": "gRPC C# Core Testing", |
||||
"authors": [ "Google Inc." ], |
||||
"copyright": "Copyright 2017, Google Inc.", |
||||
"packOptions": { |
||||
"summary": "Testing support for gRPC C#", |
||||
"description": "Useful when testing code that uses gRPC.", |
||||
"owners": [ "grpc-packages" ], |
||||
"licenseUrl": "https://github.com/grpc/grpc/blob/master/LICENSE", |
||||
"projectUrl": "https://github.com/grpc/grpc", |
||||
"requireLicenseAcceptance": false, |
||||
"tags": [ "gRPC test testing" ] |
||||
}, |
||||
"buildOptions": { |
||||
"define": [ "SIGNED" ], |
||||
"keyFile": "../keys/Grpc.snk", |
||||
"xmlDoc": true, |
||||
"compile": { |
||||
"includeFiles": [ "../Grpc.Core/Version.cs" ] |
||||
} |
||||
}, |
||||
"dependencies": { |
||||
"Grpc.Core": "${settings.csharp_version}" |
||||
}, |
||||
"frameworks": { |
||||
"net45": { |
||||
"frameworkAssemblies": { |
||||
"System.Runtime": "", |
||||
"System.IO": "" |
||||
} |
||||
}, |
||||
"netstandard1.5": { |
||||
"dependencies": { |
||||
"NETStandard.Library": "1.6.0" |
||||
} |
||||
} |
||||
} |
||||
} |
Binary file not shown.
@ -1,3 +1,4 @@ |
||||
trace_id { hi : 5; lo : 1 } |
||||
trace_id_hi : 5 |
||||
trace_id_lo : 1 |
||||
span_id : 7 |
||||
is_sampled : true |
||||
span_options : 1 |
||||
|
Binary file not shown.
@ -1,2 +0,0 @@ |
||||
trace_id { hi : 5; lo : 1 } |
||||
span_id : 7 |
Binary file not shown.
@ -0,0 +1,3 @@ |
||||
trace_id_hi : 5 |
||||
trace_id_lo : 1 |
||||
span_id : 7 |
Binary file not shown.
@ -1,2 +1,2 @@ |
||||
span_id : 7 |
||||
is_sampled : true |
||||
span_options : 1 |
||||
|
Binary file not shown.
@ -1,2 +1,3 @@ |
||||
trace_id { hi : 5; lo : 1 } |
||||
is_sampled : true |
||||
trace_id_hi : 5 |
||||
trace_id_lo : 1 |
||||
span_options : 1 |
||||
|
@ -1,210 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\1.0.204.1.props')" /> |
||||
<ItemGroup Label="ProjectConfigurations"> |
||||
<ProjectConfiguration Include="Debug|Win32"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<ProjectGuid>{4AAFDA9D-A596-DE6D-8288-A9219D7EBD93}</ProjectGuid> |
||||
<IgnoreWarnIntDirInTempDetected>true</IgnoreWarnIntDirInTempDetected> |
||||
<IntDir>$(SolutionDir)IntDir\$(MSBuildProjectName)\</IntDir> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0'" Label="Configuration"> |
||||
<PlatformToolset>v100</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '11.0'" Label="Configuration"> |
||||
<PlatformToolset>v110</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '12.0'" Label="Configuration"> |
||||
<PlatformToolset>v120</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'" Label="Configuration"> |
||||
<PlatformToolset>v140</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
||||
<ConfigurationType>Application</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
||||
<ConfigurationType>Application</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\cpptest.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\global.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\openssl.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\protobuf.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\winsock.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\zlib.props" /> |
||||
</ImportGroup> |
||||
<PropertyGroup Label="UserMacros" /> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> |
||||
<TargetName>bm_fullstack</TargetName> |
||||
<Linkage-grpc_dependencies_zlib>static</Linkage-grpc_dependencies_zlib> |
||||
<Configuration-grpc_dependencies_zlib>Debug</Configuration-grpc_dependencies_zlib> |
||||
<Linkage-grpc_dependencies_openssl>static</Linkage-grpc_dependencies_openssl> |
||||
<Configuration-grpc_dependencies_openssl>Debug</Configuration-grpc_dependencies_openssl> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'"> |
||||
<TargetName>bm_fullstack</TargetName> |
||||
<Linkage-grpc_dependencies_zlib>static</Linkage-grpc_dependencies_zlib> |
||||
<Configuration-grpc_dependencies_zlib>Release</Configuration-grpc_dependencies_zlib> |
||||
<Linkage-grpc_dependencies_openssl>static</Linkage-grpc_dependencies_openssl> |
||||
<Configuration-grpc_dependencies_openssl>Release</Configuration-grpc_dependencies_openssl> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>Disabled</Optimization> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>Disabled</Optimization> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemGroup> |
||||
<ClCompile Include="$(SolutionDir)\..\test\cpp\microbenchmarks\bm_fullstack.cc"> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\benchmark\benchmark.vcxproj"> |
||||
<Project>{07978586-E47C-8709-A63E-895FBF3C3C7D}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc++_test_util\grpc++_test_util.vcxproj"> |
||||
<Project>{0BE77741-552A-929B-A497-4EF7ECE17A64}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc_test_util\grpc_test_util.vcxproj"> |
||||
<Project>{17BCAFC0-5FDC-4C94-AEB9-95F3E220614B}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc++\grpc++.vcxproj"> |
||||
<Project>{C187A093-A0FE-489D-A40A-6E33DE0F9FEB}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc\grpc.vcxproj"> |
||||
<Project>{29D16885-7228-4C31-81ED-5F9187C7F2A9}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\gpr_test_util\gpr_test_util.vcxproj"> |
||||
<Project>{EAB0A629-17A9-44DB-B5FF-E91A721FE037}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\gpr\gpr.vcxproj"> |
||||
<Project>{B23D3D1A-9438-4EDA-BEB6-9A0A03D17792}</Project> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="packages.config" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies\grpc.dependencies.zlib.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies\grpc.dependencies.zlib.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies\grpc.dependencies.openssl.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies\grpc.dependencies.openssl.targets')" /> |
||||
</ImportGroup> |
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
||||
<PropertyGroup> |
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
||||
</PropertyGroup> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets')" /> |
||||
</Target> |
||||
</Project> |
||||
|
@ -1,21 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup> |
||||
<ClCompile Include="$(SolutionDir)\..\test\cpp\microbenchmarks\bm_fullstack.cc"> |
||||
<Filter>test\cpp\microbenchmarks</Filter> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
|
||||
<ItemGroup> |
||||
<Filter Include="test"> |
||||
<UniqueIdentifier>{a2580d22-fbdd-9841-08c9-3173349c0837}</UniqueIdentifier> |
||||
</Filter> |
||||
<Filter Include="test\cpp"> |
||||
<UniqueIdentifier>{3d07ea20-516b-1ac1-4564-f1f04c929e99}</UniqueIdentifier> |
||||
</Filter> |
||||
<Filter Include="test\cpp\microbenchmarks"> |
||||
<UniqueIdentifier>{c130900b-fb0a-d96a-530e-f837d1a9582e}</UniqueIdentifier> |
||||
</Filter> |
||||
</ItemGroup> |
||||
</Project> |
||||
|
@ -1,210 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\1.0.204.1.props')" /> |
||||
<ItemGroup Label="ProjectConfigurations"> |
||||
<ProjectConfiguration Include="Debug|Win32"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<ProjectGuid>{91678827-DAEF-2E2F-9CD1-1F5E5DD54842}</ProjectGuid> |
||||
<IgnoreWarnIntDirInTempDetected>true</IgnoreWarnIntDirInTempDetected> |
||||
<IntDir>$(SolutionDir)IntDir\$(MSBuildProjectName)\</IntDir> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0'" Label="Configuration"> |
||||
<PlatformToolset>v100</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '11.0'" Label="Configuration"> |
||||
<PlatformToolset>v110</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '12.0'" Label="Configuration"> |
||||
<PlatformToolset>v120</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'" Label="Configuration"> |
||||
<PlatformToolset>v140</PlatformToolset> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
||||
<ConfigurationType>Application</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
||||
<ConfigurationType>Application</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\cpptest.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\global.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\openssl.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\protobuf.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\winsock.props" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\zlib.props" /> |
||||
</ImportGroup> |
||||
<PropertyGroup Label="UserMacros" /> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> |
||||
<TargetName>json_run_localhost</TargetName> |
||||
<Linkage-grpc_dependencies_zlib>static</Linkage-grpc_dependencies_zlib> |
||||
<Configuration-grpc_dependencies_zlib>Debug</Configuration-grpc_dependencies_zlib> |
||||
<Linkage-grpc_dependencies_openssl>static</Linkage-grpc_dependencies_openssl> |
||||
<Configuration-grpc_dependencies_openssl>Debug</Configuration-grpc_dependencies_openssl> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'"> |
||||
<TargetName>json_run_localhost</TargetName> |
||||
<Linkage-grpc_dependencies_zlib>static</Linkage-grpc_dependencies_zlib> |
||||
<Configuration-grpc_dependencies_zlib>Release</Configuration-grpc_dependencies_zlib> |
||||
<Linkage-grpc_dependencies_openssl>static</Linkage-grpc_dependencies_openssl> |
||||
<Configuration-grpc_dependencies_openssl>Release</Configuration-grpc_dependencies_openssl> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>Disabled</Optimization> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>Disabled</Optimization> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
|
||||
<ItemGroup> |
||||
<ClCompile Include="$(SolutionDir)\..\test\cpp\qps\json_run_localhost.cc"> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc++_test_util\grpc++_test_util.vcxproj"> |
||||
<Project>{0BE77741-552A-929B-A497-4EF7ECE17A64}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc_test_util\grpc_test_util.vcxproj"> |
||||
<Project>{17BCAFC0-5FDC-4C94-AEB9-95F3E220614B}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc++\grpc++.vcxproj"> |
||||
<Project>{C187A093-A0FE-489D-A40A-6E33DE0F9FEB}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc\grpc.vcxproj"> |
||||
<Project>{29D16885-7228-4C31-81ED-5F9187C7F2A9}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\gpr_test_util\gpr_test_util.vcxproj"> |
||||
<Project>{EAB0A629-17A9-44DB-B5FF-E91A721FE037}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\gpr\gpr.vcxproj"> |
||||
<Project>{B23D3D1A-9438-4EDA-BEB6-9A0A03D17792}</Project> |
||||
</ProjectReference> |
||||
<ProjectReference Include="$(SolutionDir)\..\vsprojects\vcxproj\.\grpc++_test_config\grpc++_test_config.vcxproj"> |
||||
<Project>{3F7D093D-11F9-C4BC-BEB7-18EB28E3F290}</Project> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="packages.config" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies\grpc.dependencies.zlib.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies\grpc.dependencies.zlib.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies\grpc.dependencies.openssl.targets')" /> |
||||
<Import Project="$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets" Condition="Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies\grpc.dependencies.openssl.targets')" /> |
||||
</ImportGroup> |
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
||||
<PropertyGroup> |
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
||||
</PropertyGroup> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.redist.1.2.8.10\build\native\grpc.dependencies.zlib.redist.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.zlib.1.2.8.10\build\native\grpc.dependencies.zlib.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.redist.1.0.204.1\build\native\grpc.dependencies.openssl.redist.targets')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.props')" /> |
||||
<Error Condition="!Exists('$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\..\vsprojects\packages\grpc.dependencies.openssl.1.0.204.1\build\native\grpc.dependencies.openssl.targets')" /> |
||||
</Target> |
||||
</Project> |
||||
|
@ -1,21 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup> |
||||
<ClCompile Include="$(SolutionDir)\..\test\cpp\qps\json_run_localhost.cc"> |
||||
<Filter>test\cpp\qps</Filter> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
|
||||
<ItemGroup> |
||||
<Filter Include="test"> |
||||
<UniqueIdentifier>{6a0e8372-94ed-67cd-edda-56ba97debf76}</UniqueIdentifier> |
||||
</Filter> |
||||
<Filter Include="test\cpp"> |
||||
<UniqueIdentifier>{2a065f28-e35d-1a75-6e12-fd86e7b99443}</UniqueIdentifier> |
||||
</Filter> |
||||
<Filter Include="test\cpp\qps"> |
||||
<UniqueIdentifier>{6eec400a-a3a2-2904-8b49-92aeb69c4448}</UniqueIdentifier> |
||||
</Filter> |
||||
</ItemGroup> |
||||
</Project> |
||||
|
Loading…
Reference in new issue