Exemplo n.º 1
0
 public bool Accept(IWorkerGrain sender, LocalBreakpointBase breakpoint)
 {
     if (breakpoint.version == version && unReportedWorkers.Contains(sender))
     {
         unReportedWorkers.Remove(sender);
         AcceptImpl(sender, breakpoint);
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 protected override void AcceptImpl(IWorkerGrain sender, LocalBreakpointBase breakpoint)
 {
     current += ((LocalCountBreakpoint)breakpoint).current;
 }
Exemplo n.º 3
0
 public Task AddBreakpoint(LocalBreakpointBase breakpoint)
 {
     activeBreakpoints.Add(breakpoint);
     return(Task.CompletedTask);
 }
Exemplo n.º 4
0
 protected abstract void AcceptImpl(IWorkerGrain sender, LocalBreakpointBase breakpoint);