TestEchoServiceBase constructor

TestEchoServiceBase()

Implementation

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