Lines Matching refs:Grpc
35 $this->channel = new Grpc\Channel('localhost:50000',
36 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
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()]);
66 $this->channel = new Grpc\Channel('localhost:50004',
67 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
74 $this->channel = new Grpc\Channel('localhost:50005',
75 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
82 $this->channel = new Grpc\Channel('localhost:50006',
83 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
84 $now = Grpc\Timeval::now();
85 $deadline = $now->add(new Grpc\Timeval(100*1000)); // 100ms
96 $this->channel = new Grpc\Channel('localhost:50007',
97 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
107 $this->channel = new Grpc\Channel();
116 $this->channel = new Grpc\Channel('localhost:50008', 'invalid');
125 $this->channel = new Grpc\Channel('localhost:50009',
126 ['credentials' => new Grpc\Timeval(100)]);
134 $this->channel = new Grpc\Channel('localhost:50010',
143 $this->channel = new Grpc\Channel('localhost:50011',
144 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
153 $this->channel = new Grpc\Channel('localhost:50012',
154 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
163 $this->channel = new Grpc\Channel('localhost:50013',
164 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
176 $now = Grpc\Timeval::now();
177 $deadline = $now->add(new Grpc\Timeval(1000));
188 $this->channel1 = new Grpc\Channel('localhost:50014', [
193 $this->channel2 = new Grpc\Channel('localhost:50014', []);
218 $this->channel1 = new Grpc\Channel('localhost:50015', [
221 $this->channel2 = new Grpc\Channel('localhost:50016', []);
246 $this->channel1 = new Grpc\Channel('localhost:50017', [
250 $this->channel2 = new Grpc\Channel('localhost:50017', ["abc" => "def"]);
267 $this->channel1 = new Grpc\Channel('localhost:50018', [
270 $this->channel2 = new Grpc\Channel('localhost:50018', ["abc" => "def"]);
287 $creds1 = Grpc\ChannelCredentials::createSsl();
288 $creds2 = Grpc\ChannelCredentials::createSsl();
290 $this->channel1 = new Grpc\Channel('localhost:50019',
294 $this->channel2 = new Grpc\Channel('localhost:50019',
312 $creds1 = Grpc\ChannelCredentials::createSsl();
313 $creds2 = Grpc\ChannelCredentials::createSsl(
316 $this->channel1 = new Grpc\Channel('localhost:50020',
320 $this->channel2 = new Grpc\Channel('localhost:50020',
338 $creds1 = Grpc\ChannelCredentials::createSsl(
340 $creds2 = Grpc\ChannelCredentials::createSsl(
343 $this->channel1 = new Grpc\Channel('localhost:50021',
347 $this->channel2 = new Grpc\Channel('localhost:50021',
365 $creds1 = Grpc\ChannelCredentials::createSsl();
366 $creds2 = Grpc\ChannelCredentials::createInsecure();
368 $this->channel1 = new Grpc\Channel('localhost:50022',
372 $this->channel2 = new Grpc\Channel('localhost:50022',
391 $this->channel1 = new Grpc\Channel('localhost:50123', [
394 $this->channel2 = new Grpc\Channel('localhost:50123', []);
412 $this->channel1 = new Grpc\Channel('localhost:50223', [
415 $this->channel2 = new Grpc\Channel('localhost:50223', []);
430 $this->channel1 = new Grpc\Channel('localhost:50024', [
436 $this->channel2 = new Grpc\Channel('localhost:50024', []);
445 $this->channel1 = new Grpc\Channel('localhost:50025', [
448 $this->channel2 = new Grpc\Channel('localhost:50025', []);
449 $this->channel3 = new Grpc\Channel('localhost:50025', []);
478 $creds = Grpc\ChannelCredentials::createSsl();
479 $callCreds = Grpc\CallCredentials::createFromPlugin(
481 $credsWithCallCreds = Grpc\ChannelCredentials::createComposite(
487 $this->channel1 = new Grpc\Channel('localhost:50026',
492 $this->channel2 = new Grpc\Channel('localhost:50026',
511 $callCreds1 = Grpc\CallCredentials::createFromPlugin(
513 $callCreds2 = Grpc\CallCredentials::createFromPlugin(
516 $creds1 = Grpc\ChannelCredentials::createSsl();
517 $creds2 = Grpc\ChannelCredentials::createComposite(
519 $creds3 = Grpc\ChannelCredentials::createComposite(
526 $this->channel1 = new Grpc\Channel('localhost:50027',
530 $this->channel2 = new Grpc\Channel('localhost:50027',
532 $this->channel3 = new Grpc\Channel('localhost:50027',
553 $this->channel1 = new Grpc\Channel('localhost:50028', [
558 $this->channel2 = new Grpc\Channel('localhost:50028',
577 $this->channel1 = new Grpc\Channel('localhost:50029', [
580 $this->channel2 = new Grpc\Channel('localhost:50029',
583 $this->channel3 = new Grpc\Channel('localhost:50029', []);
602 $this->channel1 = new Grpc\Channel('localhost:50029', [
605 $this->channel2 = new Grpc\Channel('localhost:50029', []);
622 $this->channel1 = new Grpc\Channel('localhost:50130', [
625 $this->channel2 = new Grpc\Channel('localhost:50130',
628 $this->channel3 = new Grpc\Channel('localhost:50130', []);
648 $this->channel1 = new Grpc\Channel('localhost:50230', [
651 $this->channel2 = new Grpc\Channel('localhost:50230',
654 $this->channel3 = new Grpc\Channel('localhost:50230', []);
672 $this->channel1 = new Grpc\Channel('localhost:50031', [
675 $this->channel2 = new Grpc\Channel('localhost:50031',
677 $this->channel3 = new Grpc\Channel('localhost:50031', []);