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