TestEchoServiceBase constructor
TestEchoServiceBase()
Implementation
TestEchoServiceBase() {
$addMethod($grpc.ServiceMethod<$29.EchoRequest, $29.EchoResponse>(
'Echo',
echo_Pre,
false,
false,
($core.List<$core.int> value) => $29.EchoRequest.fromBuffer(value),
($29.EchoResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$29.EchoMultipleRequest, $29.EchoMultipleResponse>(
'EchoMultiple',
echoMultiple_Pre,
false,
true,
($core.List<$core.int> value) => $29.EchoMultipleRequest.fromBuffer(value),
($29.EchoMultipleResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$29.EchoBiDiRequest, $29.EchoBiDiResponse>(
'EchoBiDi',
echoBiDi,
true,
true,
($core.List<$core.int> value) => $29.EchoBiDiRequest.fromBuffer(value),
($29.EchoBiDiResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$29.StopRequest, $29.StopResponse>(
'Stop',
stop_Pre,
false,
false,
($core.List<$core.int> value) => $29.StopRequest.fromBuffer(value),
($29.StopResponse value) => value.writeToBuffer()));
}