Package io.netty.handler.codec.quic
Class EpollQuicUtils
- java.lang.Object
-
- io.netty.handler.codec.quic.EpollQuicUtils
-
public final class EpollQuicUtils extends java.lang.Object
Class that provides utility methods to setupQUIC
when using theEPOLL
transport.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SegmentedDatagramPacketAllocator
newSegmentedAllocator(int maxNumSegments)
Return a newSegmentedDatagramPacketAllocator
that can be used while usingEpollDatagramChannel
.
-
-
-
Method Detail
-
newSegmentedAllocator
public static SegmentedDatagramPacketAllocator newSegmentedAllocator(int maxNumSegments)
Return a newSegmentedDatagramPacketAllocator
that can be used while usingEpollDatagramChannel
.- Parameters:
maxNumSegments
- the maximum number of segments that we try to send in one packet.- Returns:
- a allocator.
-
-