TestEchoServiceBase constructor

TestEchoServiceBase()

Implementation

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