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