< 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:30
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 class ClientCommsDirectorService
 12{
 13  private readonly RpcClientModule module;
 14
 015  public ClientCommsDirectorService(RpcClientModule module)
 16  {
 017      this.module = module;
 018  }
 19
 20  public UniTask<Empty> SendHeartbeat(Heartbeat request)
 21  {
 022      return module.CallUnaryProcedure<Empty>("SendHeartbeat", request);
 23  }
 24
 25  public IUniTaskAsyncEnumerable<WorldCommand> GetCommsCommands(Empty request)
 26  {
 027      return module.CallServerStream<WorldCommand>("GetCommsCommands", request);
 28  }
 29}
 30}