// 
// Decompiled by Procyon v0.6.0
// 

package io.netty.handler.codec.http3;

import io.netty.channel.ChannelHandlerContext;
import java.util.function.Supplier;
import org.jetbrains.annotations.Nullable;
import io.netty.channel.ChannelHandler;
import java.util.function.LongFunction;

final class Http3UnidirectionalStreamInboundServerHandler extends Http3UnidirectionalStreamInboundHandler
{
    Http3UnidirectionalStreamInboundServerHandler(final Http3FrameCodec.Http3FrameCodecFactory codecFactory, final Http3ControlStreamInboundHandler localControlStreamHandler, final Http3ControlStreamOutboundHandler remoteControlStreamHandler, @Nullable final LongFunction<ChannelHandler> unknownStreamHandlerFactory, final Supplier<ChannelHandler> qpackEncoderHandlerFactory, final Supplier<ChannelHandler> qpackDecoderHandlerFactory) {
        super(codecFactory, localControlStreamHandler, remoteControlStreamHandler, unknownStreamHandlerFactory, qpackEncoderHandlerFactory, qpackDecoderHandlerFactory);
    }
    
    @Override
    void initPushStream(final ChannelHandlerContext ctx, final long id) {
        Http3CodecUtils.connectionError(ctx, Http3ErrorCode.H3_STREAM_CREATION_ERROR, "Server received push stream.", false);
    }
}
