class DefaultHttp2ConnectionEncoder implements Http2ConnectionEncoder, Http2SettingsReceivedConsumer {

  @Override
  public ChannelFuture writeGoAway(
      final ChannelHandlerContext ctx,
      final int lastStreamId,
      final long errorCode,
      final ByteBuf debugData,
      final ChannelPromise promise) {
    return lifecycleManager.goAway(ctx, lastStreamId, errorCode, debugData, promise);
  }

  public  DefaultHttp2ConnectionEncoder(
      final Http2Connection connection, final Http2FrameWriter frameWriter);

}