Ejemplo n.º 1
0
 public override Task <IdleStatus> IdlenessCheckHandler(Void request, ServerCallContext context)
 {
     return(Task.FromResult(new IdleStatus
     {
         IsIdle = IsIdle,
         Reason = "Driver client"
     }));
 }
Ejemplo n.º 2
0
 public override async Task <Void> ClientCloseHandler(Void request, ServerCallContext context)
 {
     try
     {
         await _driverBridge.DispatchClientCloseEvent();
     }
     catch (Exception ex)
     {
         _bridgeClock.Dispose(ex);
     }
     return(Void);
 }