diff options
Diffstat (limited to 'src/php/tests/interop/test.php')
-rwxr-xr-x | src/php/tests/interop/test.php | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/php/tests/interop/test.php b/src/php/tests/interop/test.php new file mode 100755 index 0000000000..fe6d0fb6c4 --- /dev/null +++ b/src/php/tests/interop/test.php @@ -0,0 +1,52 @@ +<?php +// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 +// Source: third_party/stubby/testing/proto/test.proto +// Date: 2014-12-03 22:02:20 + +namespace grpc\testing { + + class TestServiceClient extends \Grpc\BaseStub { + /** + * @param proto2\EmptyMessage $input + * @return proto2\EmptyMessage + */ + public function EmptyCall(\proto2\EmptyMessage $argument, $metadata = array()) { + return $this->_simpleRequest('/TestService/EmptyCall', $argument, '\proto2\EmptyMessage::deserialize', $metadata); + } + /** + * @param grpc\testing\SimpleRequest $input + * @return grpc\testing\SimpleResponse + */ + public function UnaryCall(\grpc\testing\SimpleRequest $argument, $metadata = array()) { + return $this->_simpleRequest('/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('/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('/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('/TestService/FullDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); + } + /** + * @param grpc\testing\StreamingOutputCallRequest $input + * @return grpc\testing\StreamingOutputCallResponse + */ + public function HalfDuplexCall($metadata = array()) { + return $this->_bidiRequest('/TestService/HalfDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); + } + } +} |