Interface QuicStreamChannelConfig

  • All Superinterfaces:
    io.netty.channel.ChannelConfig, io.netty.channel.socket.DuplexChannelConfig

    public interface QuicStreamChannelConfig
    extends io.netty.channel.socket.DuplexChannelConfig
    DuplexChannelConfig for QUIC streams.
    • Method Detail

      • isReadFrames

        boolean isReadFrames()
        Returns true if the QuicStreamChannel will read QuicStreamFrames and fire these through the ChannelPipeline, false if it uses ByteBuf.
        Returns:
        true if QuicStreamFrames should be used, false if ByteBuf should be used.
      • setAllowHalfClosure

        QuicStreamChannelConfig setAllowHalfClosure​(boolean allowHalfClosure)
        Specified by:
        setAllowHalfClosure in interface io.netty.channel.socket.DuplexChannelConfig
      • setMaxMessagesPerRead

        QuicStreamChannelConfig setMaxMessagesPerRead​(int maxMessagesPerRead)
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.socket.DuplexChannelConfig
      • setWriteSpinCount

        QuicStreamChannelConfig setWriteSpinCount​(int writeSpinCount)
        Specified by:
        setWriteSpinCount in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteSpinCount in interface io.netty.channel.socket.DuplexChannelConfig
      • setAllocator

        QuicStreamChannelConfig setAllocator​(io.netty.buffer.ByteBufAllocator allocator)
        Specified by:
        setAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setAllocator in interface io.netty.channel.socket.DuplexChannelConfig
      • setRecvByteBufAllocator

        QuicStreamChannelConfig setRecvByteBufAllocator​(io.netty.channel.RecvByteBufAllocator allocator)
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.socket.DuplexChannelConfig
      • setAutoRead

        QuicStreamChannelConfig setAutoRead​(boolean autoRead)
        Specified by:
        setAutoRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setAutoRead in interface io.netty.channel.socket.DuplexChannelConfig
      • setAutoClose

        QuicStreamChannelConfig setAutoClose​(boolean autoClose)
        Specified by:
        setAutoClose in interface io.netty.channel.ChannelConfig
        Specified by:
        setAutoClose in interface io.netty.channel.socket.DuplexChannelConfig
      • setMessageSizeEstimator

        QuicStreamChannelConfig setMessageSizeEstimator​(io.netty.channel.MessageSizeEstimator estimator)
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.ChannelConfig
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.socket.DuplexChannelConfig
      • setWriteBufferWaterMark

        QuicStreamChannelConfig setWriteBufferWaterMark​(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.socket.DuplexChannelConfig
      • setConnectTimeoutMillis

        QuicStreamChannelConfig setConnectTimeoutMillis​(int connectTimeoutMillis)
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.ChannelConfig
      • setWriteBufferHighWaterMark

        QuicStreamChannelConfig setWriteBufferHighWaterMark​(int writeBufferHighWaterMark)
        Specified by:
        setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfig
      • setWriteBufferLowWaterMark

        QuicStreamChannelConfig setWriteBufferLowWaterMark​(int writeBufferLowWaterMark)
        Specified by:
        setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfig