HomeSort by relevance Sort by last modified time
    Searched refs:Grpc (Results 1 - 25 of 410) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/grpc-grpc/test/distrib/php/
distribtest.php 4 * Copyright 2016 gRPC authors.
20 $channel = new Grpc\Channel('localhost:1000', [
21 'credentials' => Grpc\ChannelCredentials::createInsecure()
24 $deadline = Grpc\Timeval::infFuture();
25 $call = new Grpc\Call($channel,
  /external/grpc-grpc/tools/run_tests/helper_scripts/
pre_build_csharp.sh 2 # Copyright 2015 gRPC authors.
18 # cd to gRPC csharp directory
21 dotnet restore Grpc.sln
build_csharp.sh 2 # Copyright 2015 gRPC authors.
23 dotnet build --configuration "$MSBUILD_CONFIG" /p:NativeDependenciesConfigurationUnix=gcov Grpc.sln
25 dotnet build --configuration "$MSBUILD_CONFIG" Grpc.sln
  /external/grpc-grpc/src/php/tests/unit_tests/
EndToEndTest.php 4 * Copyright 2015 gRPC authors.
23 $this->server = new Grpc\Server([]);
25 $this->channel = new Grpc\Channel('localhost:'.$this->port, [
39 $deadline = Grpc\Timeval::infFuture();
41 $call = new Grpc\Call($this->channel,
46 Grpc\OP_SEND_INITIAL_METADATA => [],
47 Grpc\OP_SEND_CLOSE_FROM_CLIENT => true,
58 Grpc\OP_SEND_INITIAL_METADATA => [],
59 Grpc\OP_SEND_STATUS_FROM_SERVER => [
61 'code' => Grpc\STATUS_OK
    [all...]
TimevalTest.php 4 * Copyright 2015 gRPC authors.
32 $this->time = new Grpc\Timeval(1234);
34 $this->assertSame('Grpc\Timeval', get_class($this->time));
39 $this->time = new Grpc\Timeval(-123);
41 $this->assertSame('Grpc\Timeval', get_class($this->time));
46 $this->time = new Grpc\Timeval(0);
48 $this->assertSame('Grpc\Timeval', get_class($this->time));
53 $this->time = new Grpc\Timeval(0123);
55 $this->assertSame('Grpc\Timeval', get_class($this->time));
60 $this->time = new Grpc\Timeval(0x1A)
    [all...]
SecureEndToEndTest.php 4 * Copyright 2015 gRPC authors.
23 $credentials = Grpc\ChannelCredentials::createSsl(
25 $server_credentials = Grpc\ServerCredentials::createSsl(
29 $this->server = new Grpc\Server();
34 $this->channel = new Grpc\Channel(
38 'grpc.ssl_target_name_override' => $this->host_override,
39 'grpc.default_authority' => $this->host_override,
53 $deadline = Grpc\Timeval::infFuture();
55 $call = new Grpc\Call($this->channel,
61 Grpc\OP_SEND_INITIAL_METADATA => []
    [all...]
ServerTest.php 4 * Copyright 2015 gRPC authors.
34 $this->server = new Grpc\Server();
40 $this->server = new Grpc\Server([]);
47 $this->server = new Grpc\Server(['ip' => '127.0.0.1',
54 $this->server = new Grpc\Server();
57 $channel = new Grpc\Channel('localhost:'.$port,
60 'credentials' => Grpc\ChannelCredentials::createInsecure()
63 $deadline = Grpc\Timeval::infFuture();
64 $call = new Grpc\Call($channel, 'dummy_method', $deadline);
66 $event = $call->startBatch([Grpc\OP_SEND_INITIAL_METADATA => []
    [all...]
ChannelTest.php 4 * Copyright 2018 gRPC authors.
35 $this->channel = new Grpc\Channel('localhost:50000',
36 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
37 $this->assertSame('Grpc\Channel', get_class($this->channel));
42 $this->channel = new Grpc\Channel('localhost:50001',
43 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
50 $this->channel = new Grpc\Channel('localhost:50002',
51 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
58 $this->channel = new Grpc\Channel('localhost:50003',
59 ['credentials' => Grpc\ChannelCredentials::createInsecure()])
    [all...]
CallCredentialsTest.php 4 * Copyright 2015 gRPC authors.
24 $this->credentials = Grpc\ChannelCredentials::createSsl(
26 $this->call_credentials = Grpc\CallCredentials::createFromPlugin(
28 $this->credentials = Grpc\ChannelCredentials::createComposite(
32 $server_credentials = Grpc\ServerCredentials::createSsl(
36 $this->server = new Grpc\Server();
41 $this->channel = new Grpc\Channel(
45 'grpc.ssl_target_name_override' => $this->host_override,
46 'grpc.default_authority' => $this->host_override,
68 $deadline = Grpc\Timeval::infFuture()
    [all...]
CallCredentials2Test.php 4 * Copyright 2015 gRPC authors.
24 $credentials = Grpc\ChannelCredentials::createSsl(
26 $server_credentials = Grpc\ServerCredentials::createSsl(
30 $this->server = new Grpc\Server();
35 $this->channel = new Grpc\Channel(
39 'grpc.ssl_target_name_override' => $this->host_override,
40 'grpc.default_authority' => $this->host_override,
62 $deadline = Grpc\Timeval::infFuture();
64 $call = new Grpc\Call($this->channel,
69 $call_credentials = Grpc\CallCredentials::createFromPlugin
    [all...]
ChannelCredentialsTest.php 4 * Copyright 2015 gRPC authors.
32 $channel_credentials = Grpc\ChannelCredentials::createSsl(null, null,
39 $channel_credentials = Grpc\ChannelCredentials::createSsl('', '', '');
45 $channel_credentials = Grpc\ChannelCredentials::createInsecure();
54 $channel_credentials = Grpc\ChannelCredentials::createSsl([]);
62 $channel_credentials = Grpc\ChannelCredentials::createComposite(
CallTest.php 4 * Copyright 2015 gRPC authors.
26 self::$server = new Grpc\Server([]);
32 $this->channel = new Grpc\Channel('localhost:'.self::$port, [
35 $this->call = new Grpc\Call($this->channel,
37 Grpc\Timeval::infFuture());
47 $this->assertSame('Grpc\Call', get_class($this->call));
54 Grpc\OP_SEND_INITIAL_METADATA => [],
63 Grpc\OP_SEND_INITIAL_METADATA => ['key' => ['value']],
72 Grpc\OP_SEND_INITIAL_METADATA => ['key' => ['value1', 'value2']],
81 Grpc\OP_SEND_INITIAL_METADATA => ['key1' => ['value1']
    [all...]
  /external/grpc-grpc/tools/run_tests/performance/
run_worker_csharp.sh 2 # Copyright 2015 gRPC authors.
21 cd src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Release/netcoreapp1.0
23 dotnet exec Grpc.IntegrationTesting.QpsWorker.dll "$@"
  /external/grpc-grpc/src/ruby/pb/grpc/testing/duplicate/
echo_duplicate_services_pb.rb 2 # Source: src/proto/grpc/testing/duplicate/echo_duplicate.proto for package 'grpc.testing.duplicate'
4 # Copyright 2015 gRPC authors.
21 require 'grpc'
22 require 'src/proto/grpc/testing/duplicate/echo_duplicate_pb'
24 module Grpc
30 include GRPC::GenericService
34 self.service_name = 'grpc.testing.duplicate.EchoTestService'
36 rpc :Echo, Grpc::Testing::EchoRequest, Grpc::Testing::EchoRespons
    [all...]
  /external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
NoRpcServiceClient.php 5 // Copyright 2015 gRPC authors.
19 namespace Grpc\Testing;
24 class NoRpcServiceClient extends \Grpc\BaseStub {
29 * @param \Grpc\Channel $channel (optional) re-use channel object
ReportQpsScenarioServiceClient.php 5 // Copyright 2015 gRPC authors.
21 namespace Grpc\Testing;
25 class ReportQpsScenarioServiceClient extends \Grpc\BaseStub {
30 * @param \Grpc\Channel $channel (optional) re-use channel object
38 * @param \Grpc\Testing\ScenarioResult $argument input argument
42 public function ReportScenario(\Grpc\Testing\ScenarioResult $argument,
44 return $this->_simpleRequest('/grpc.testing.ReportQpsScenarioService/ReportScenario',
46 ['\Grpc\Testing\PBVoid', 'decode'],
ServiceBClient.php 5 // Copyright 2016 gRPC authors.
24 namespace Grpc\Testing;
29 class ServiceBClient extends \Grpc\BaseStub {
34 * @param \Grpc\Channel $channel (optional) re-use channel object
42 * @param \Grpc\Testing\Request $argument input argument
46 public function MethodB1(\Grpc\Testing\Request $argument,
48 return $this->_simpleRequest('/grpc.testing.ServiceB/MethodB1',
50 ['\Grpc\Testing\Response', 'decode'],
UnimplementedEchoServiceClient.php 5 // Copyright 2015 gRPC authors.
19 namespace Grpc\Testing;
23 class UnimplementedEchoServiceClient extends \Grpc\BaseStub {
28 * @param \Grpc\Channel $channel (optional) re-use channel object
35 * @param \Grpc\Testing\EchoRequest $argument input argument
39 public function Unimplemented(\Grpc\Testing\EchoRequest $argument,
41 return $this->_simpleRequest('/grpc.testing.UnimplementedEchoService/Unimplemented',
43 ['\Grpc\Testing\EchoResponse', 'decode'],
UnimplementedServiceClient.php 5 // Copyright 2015-2016 gRPC authors.
22 namespace Grpc\Testing;
28 class UnimplementedServiceClient extends \Grpc\BaseStub {
33 * @param \Grpc\Channel $channel (optional) re-use channel object
41 * @param \Grpc\Testing\PBEmpty $argument input argument
45 public function UnimplementedCall(\Grpc\Testing\PBEmpty $argument,
47 return $this->_simpleRequest('/grpc.testing.UnimplementedService/UnimplementedCall',
49 ['\Grpc\Testing\PBEmpty', 'decode'],
  /external/grpc-grpc/src/csharp/experimental/
build_unitypackage.sh 2 # Copyright 2018 gRPC authors.
22 dotnet restore Grpc.sln
25 dotnet build --configuration Release --framework net45 Grpc.Core --output ../GrpcUnity
27 #TODO: add ThirdParty/Grpc.Core:
31 #TODO: add ThirdParty/Grpc.Tools:
32 # - protoc and grpc plugin
  /external/grpc-grpc/src/ruby/pb/src/proto/grpc/testing/
test_pb.rb 2 # source: src/proto/grpc/testing/test.proto
6 require 'src/proto/grpc/testing/empty_pb'
7 require 'src/proto/grpc/testing/messages_pb'
11 module Grpc
  /external/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/
benchmark_service_pb.rb 2 # source: src/proto/grpc/testing/benchmark_service.proto
6 require 'src/proto/grpc/testing/messages_pb'
10 module Grpc
report_qps_scenario_service_pb.rb 2 # source: src/proto/grpc/testing/report_qps_scenario_service.proto
6 require 'src/proto/grpc/testing/control_pb'
10 module Grpc
worker_service_pb.rb 2 # source: src/proto/grpc/testing/worker_service.proto
6 require 'src/proto/grpc/testing/control_pb'
10 module Grpc
  /external/grpc-grpc/src/php/tests/unit_tests/PersistentChannelTests/
PersistentChannelTest.php 4 * Copyright 2015 gRPC authors.
32 new Grpc\Channel('localhost:50010', []);
39 $now = Grpc\Timeval::now();
40 $deadline = $now->add(new Grpc\Timeval(1000));
41 if ($channel->watchConnectivityState(GRPC\CHANNEL_IDLE,
50 $this->assertTrue($state == GRPC\CHANNEL_CONNECTING ||
51 $state == GRPC\CHANNEL_TRANSIENT_FAILURE);
64 $this->channel1 = new Grpc\Channel('localhost:1', ['force_new' => true]);
70 GRPC\CHANNEL_IDLE);
77 $this->channel1 = new Grpc\Channel('localhost:1', [])
    [all...]

Completed in 258 milliseconds

1 2 3 4 5 6 7 8 91011>>