EpollSegmentedDatagramPacketAllocator Class — netty Architecture
Architecture documentation for the EpollSegmentedDatagramPacketAllocator class in EpollQuicUtils.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 77e82e3c_612d_01d1_afef_e8ce86e02c9a["EpollSegmentedDatagramPacketAllocator"] e6c2ab85_1f10_8ffb_7bc3_b1b0b25f52b0["EpollQuicUtils.java"] 77e82e3c_612d_01d1_afef_e8ce86e02c9a -->|defined in| e6c2ab85_1f10_8ffb_7bc3_b1b0b25f52b0 ed9b4527_be62_ff38_6e67_d253e819e3c2["EpollSegmentedDatagramPacketAllocator()"] 77e82e3c_612d_01d1_afef_e8ce86e02c9a -->|method| ed9b4527_be62_ff38_6e67_d253e819e3c2 60b97175_1ca8_0598_e37a_6540fe67e4f4["maxNumSegments()"] 77e82e3c_612d_01d1_afef_e8ce86e02c9a -->|method| 60b97175_1ca8_0598_e37a_6540fe67e4f4 3265f59a_0c06_6968_2c43_343f2b396783["DatagramPacket()"] 77e82e3c_612d_01d1_afef_e8ce86e02c9a -->|method| 3265f59a_0c06_6968_2c43_343f2b396783
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/EpollQuicUtils.java lines 47–64
private static final class EpollSegmentedDatagramPacketAllocator implements SegmentedDatagramPacketAllocator {
private final int maxNumSegments;
EpollSegmentedDatagramPacketAllocator(int maxNumSegments) {
this.maxNumSegments = maxNumSegments;
}
@Override
public int maxNumSegments() {
return maxNumSegments;
}
@Override
public DatagramPacket newPacket(ByteBuf buffer, int segmentSize, InetSocketAddress remoteAddress) {
return new io.netty.channel.unix.SegmentedDatagramPacket(buffer, segmentSize, remoteAddress);
}
}
Source
Frequently Asked Questions
What is the EpollSegmentedDatagramPacketAllocator class?
EpollSegmentedDatagramPacketAllocator is a class in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/EpollQuicUtils.java.
Where is EpollSegmentedDatagramPacketAllocator defined?
EpollSegmentedDatagramPacketAllocator is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/EpollQuicUtils.java at line 47.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free