< Summary

Class:Decentraland.Bff.ClientCommsDirectorService
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Decentraland/bff/ClientCommsDirectorServiceService.gen.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:39
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
ClientCommsDirectorService(...)0%2100%
SendHeartbeat(...)0%2100%
GetCommsCommands(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Decentraland/bff/ClientCommsDirectorServiceService.gen.cs

#LineLine coverage
 1
 2// AUTOGENERATED, DO NOT EDIT
 3// Type definitions for server implementations of ports.
 4// package: decentraland.bff
 5// file: decentraland/bff/comms_director_service.proto
 6using Cysharp.Threading.Tasks;
 7using rpc_csharp;
 8using Google.Protobuf.WellKnownTypes;
 9
 10namespace Decentraland.Bff {
 11public interface IClientCommsDirectorService
 12{
 13  UniTask<Empty> SendHeartbeat(Heartbeat request);
 14
 15  IUniTaskAsyncEnumerable<WorldCommand> GetCommsCommands(Empty request);
 16}
 17
 18public class ClientCommsDirectorService : IClientCommsDirectorService
 19{
 20  private readonly RpcClientModule module;
 21
 022  public ClientCommsDirectorService(RpcClientModule module)
 23  {
 024      this.module = module;
 025  }
 26
 27
 28  public UniTask<Empty> SendHeartbeat(Heartbeat request)
 29  {
 030      return module.CallUnaryProcedure<Empty>("SendHeartbeat", request);
 31  }
 32
 33  public IUniTaskAsyncEnumerable<WorldCommand> GetCommsCommands(Empty request)
 34  {
 035      return module.CallServerStream<WorldCommand>("GetCommsCommands", request);
 36  }
 37
 38}
 39}