mirror of https://github.com/grpc/grpc.git
Merge pull request #309 from murgatroid99/php_interop_failures
Fix a couple of PHP bugs that prevented the PHP interop test client from workingpull/316/head
commit
484bc53582
6 changed files with 159 additions and 97 deletions
@ -1,52 +1,52 @@ |
|||||||
<?php |
<?php |
||||||
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 |
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0 |
||||||
// Source: third_party/stubby/testing/proto/test.proto |
// Source: test/cpp/interop/test.proto |
||||||
// Date: 2014-12-03 22:02:20 |
// Date: 2015-01-30 21:44:54 |
||||||
|
|
||||||
namespace grpc\testing { |
namespace grpc\testing { |
||||||
|
|
||||||
class TestServiceClient extends \Grpc\BaseStub { |
class TestServiceClient extends \Grpc\BaseStub { |
||||||
/** |
/** |
||||||
* @param proto2\EmptyMessage $input |
* @param grpc\testing\EmptyMessage $input |
||||||
* @return proto2\EmptyMessage |
* @return grpc\testing\EmptyMessage |
||||||
*/ |
*/ |
||||||
public function EmptyCall(\proto2\EmptyMessage $argument, $metadata = array()) { |
public function EmptyCall(\grpc\testing\EmptyMessage $argument, $metadata = array()) { |
||||||
return $this->_simpleRequest('/TestService/EmptyCall', $argument, '\proto2\EmptyMessage::deserialize', $metadata); |
return $this->_simpleRequest('/grpc.testing.TestService/EmptyCall', $argument, '\grpc\testing\EmptyMessage::deserialize', $metadata); |
||||||
} |
} |
||||||
/** |
/** |
||||||
* @param grpc\testing\SimpleRequest $input |
* @param grpc\testing\SimpleRequest $input |
||||||
* @return grpc\testing\SimpleResponse |
* @return grpc\testing\SimpleResponse |
||||||
*/ |
*/ |
||||||
public function UnaryCall(\grpc\testing\SimpleRequest $argument, $metadata = array()) { |
public function UnaryCall(\grpc\testing\SimpleRequest $argument, $metadata = array()) { |
||||||
return $this->_simpleRequest('/TestService/UnaryCall', $argument, '\grpc\testing\SimpleResponse::deserialize', $metadata); |
return $this->_simpleRequest('/grpc.testing.TestService/UnaryCall', $argument, '\grpc\testing\SimpleResponse::deserialize', $metadata); |
||||||
} |
} |
||||||
/** |
/** |
||||||
* @param grpc\testing\StreamingOutputCallRequest $input |
* @param grpc\testing\StreamingOutputCallRequest $input |
||||||
* @return grpc\testing\StreamingOutputCallResponse |
* @return grpc\testing\StreamingOutputCallResponse |
||||||
*/ |
*/ |
||||||
public function StreamingOutputCall($argument, $metadata = array()) { |
public function StreamingOutputCall($argument, $metadata = array()) { |
||||||
return $this->_serverStreamRequest('/TestService/StreamingOutputCall', $argument, '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
return $this->_serverStreamRequest('/grpc.testing.TestService/StreamingOutputCall', $argument, '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
||||||
} |
} |
||||||
/** |
/** |
||||||
* @param grpc\testing\StreamingInputCallRequest $input |
* @param grpc\testing\StreamingInputCallRequest $input |
||||||
* @return grpc\testing\StreamingInputCallResponse |
* @return grpc\testing\StreamingInputCallResponse |
||||||
*/ |
*/ |
||||||
public function StreamingInputCall($arguments, $metadata = array()) { |
public function StreamingInputCall($arguments, $metadata = array()) { |
||||||
return $this->_clientStreamRequest('/TestService/StreamingInputCall', $arguments, '\grpc\testing\StreamingInputCallResponse::deserialize', $metadata); |
return $this->_clientStreamRequest('/grpc.testing.TestService/StreamingInputCall', $arguments, '\grpc\testing\StreamingInputCallResponse::deserialize', $metadata); |
||||||
} |
} |
||||||
/** |
/** |
||||||
* @param grpc\testing\StreamingOutputCallRequest $input |
* @param grpc\testing\StreamingOutputCallRequest $input |
||||||
* @return grpc\testing\StreamingOutputCallResponse |
* @return grpc\testing\StreamingOutputCallResponse |
||||||
*/ |
*/ |
||||||
public function FullDuplexCall($metadata = array()) { |
public function FullDuplexCall($metadata = array()) { |
||||||
return $this->_bidiRequest('/TestService/FullDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
return $this->_bidiRequest('/grpc.testing.TestService/FullDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
||||||
} |
} |
||||||
/** |
/** |
||||||
* @param grpc\testing\StreamingOutputCallRequest $input |
* @param grpc\testing\StreamingOutputCallRequest $input |
||||||
* @return grpc\testing\StreamingOutputCallResponse |
* @return grpc\testing\StreamingOutputCallResponse |
||||||
*/ |
*/ |
||||||
public function HalfDuplexCall($metadata = array()) { |
public function HalfDuplexCall($metadata = array()) { |
||||||
return $this->_bidiRequest('/TestService/HalfDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
return $this->_bidiRequest('/grpc.testing.TestService/HalfDuplexCall', '\grpc\testing\StreamingOutputCallResponse::deserialize', $metadata); |
||||||
} |
} |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue