Exemplo n.º 1
0
 public void SettingsAckShouldMatch()
 {
     writer.WriteSettingsAckAsync(this.ctx.Object, this.ctx.Object.NewPromise());
     this.ReadFrames();
     this.listener.Verify(
         x => x.OnSettingsAckRead(
             It.Is <IChannelHandlerContext>(c => c == this.ctx.Object)));
 }
Exemplo n.º 2
0
 public virtual Task WriteSettingsAckAsync(IChannelHandlerContext ctx, IPromise promise)
 {
     return(_innerWriter.WriteSettingsAckAsync(ctx, promise));
 }
Exemplo n.º 3
0
 public Task WriteSettingsAckAsync(IChannelHandlerContext ctx, IPromise promise)
 {
     _logger.LogSettingsAck(Direction.Outbound, ctx);
     return(_writer.WriteSettingsAckAsync(ctx, promise));
 }