aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/interop/test.php
blob: 060a21def6d7e108582842e26d898f4b8a38f1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0
// Source: test/cpp/interop/test.proto
//   Date: 2015-01-30 21:44:54

namespace grpc\testing {

  class TestServiceClient extends \Grpc\BaseStub {
    /**
     * @param grpc\testing\EmptyMessage $input
     * @return grpc\testing\EmptyMessage
     */
    public function EmptyCall(\grpc\testing\EmptyMessage $argument, $metadata = array()) {
      return $this->_simpleRequest('/grpc.testing.TestService/EmptyCall', $argument, '\grpc\testing\EmptyMessage::deserialize', $metadata);
    }
    /**
     * @param grpc\testing\SimpleRequest $input
     * @return grpc\testing\SimpleResponse
     */
    public function UnaryCall(\grpc\testing\SimpleRequest $argument, $metadata = array()) {
      return $this->_simpleRequest('/grpc.testing.TestService/UnaryCall', $argument, '\grpc\testing\SimpleResponse::deserialize', $metadata);
    }
    /**
     * @param grpc\testing\StreamingOutputCallRequest $input
     * @return grpc\testing\StreamingOutputCallResponse
     */
    public function StreamingOutputCall($argument, $metadata = array()) {
      return $this->_serverStreamRequest('/grpc.testing.TestService/StreamingOutputCall', $argument, '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata);
    }
    /**
     * @param grpc\testing\StreamingInputCallRequest $input
     * @return grpc\testing\StreamingInputCallResponse
     */
    public function StreamingInputCall($arguments, $metadata = array()) {
      return $this->_clientStreamRequest('/grpc.testing.TestService/StreamingInputCall', $arguments, '\grpc\testing\StreamingInputCallResponse::deserialize', $metadata);
    }
    /**
     * @param grpc\testing\StreamingOutputCallRequest $input
     * @return grpc\testing\StreamingOutputCallResponse
     */
    public function FullDuplexCall($metadata = array()) {
      return $this->_bidiRequest('/grpc.testing.TestService/FullDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata);
    }
    /**
     * @param grpc\testing\StreamingOutputCallRequest $input
     * @return grpc\testing\StreamingOutputCallResponse
     */
    public function HalfDuplexCall($metadata = array()) {
      return $this->_bidiRequest('/grpc.testing.TestService/HalfDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata);
    }
  }
}