Class EpollQuicUtils
java.lang.Object
io.netty.handler.codec.quic.EpollQuicUtils
Class that provides utility methods to setup
QUIC when using the EPOLL transport.-
Method Summary
Modifier and TypeMethodDescriptionnewSegmentedAllocator(int maxNumSegments) Return a newSegmentedDatagramPacketAllocatorthat can be used while usingEpollDatagramChannel.
-
Method Details
-
newSegmentedAllocator
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.
-