public override Task <ResponseBeginBlock> BeginBlock(RequestBeginBlock request, ServerCallContext context)
 {
     Console.WriteLine("BeginBlock has been called.");
     return(_blockHandler.BeginBlock(request, context));
 }
Exemple #2
0
 public async Task <ResponseBeginBlock> BeginBlock(RequestBeginBlock request, ServerCallContext context) => await Task.FromResult(new ResponseBeginBlock());
Exemple #3
0
 public override ResponseBeginBlock BeginBlock(RequestBeginBlock request, CallOptions options)
 {
     return(base.BeginBlock(request, options));
 }
Exemple #4
0
 public virtual Task <ResponseBeginBlock> RequestBeginBlock(RequestBeginBlock req)
 {
     Console.WriteLine("BeginBlock: " + req.GetHashCode());
     return(Task.FromResult(new ResponseBeginBlock()));
 }