AbstractIoUringServerChannel() — netty Function Reference
Architecture documentation for the AbstractIoUringServerChannel() function in AbstractIoUringServerChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 20289d3a_0154_f5ec_19dc_c01f517935cb["AbstractIoUringServerChannel()"] 4efc122f_d4e7_90e6_51cb_c7fd75b903c4["AbstractIoUringServerChannel"] 20289d3a_0154_f5ec_19dc_c01f517935cb -->|defined in| 4efc122f_d4e7_90e6_51cb_c7fd75b903c4 7680ded9_87cf_5b03_8d89_d666f8cde33f["AcceptedAddressMemory()"] 20289d3a_0154_f5ec_19dc_c01f517935cb -->|calls| 7680ded9_87cf_5b03_8d89_d666f8cde33f style 20289d3a_0154_f5ec_19dc_c01f517935cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringServerChannel.java lines 67–90
protected AbstractIoUringServerChannel(LinuxSocket socket, boolean active) {
super(null, socket, active);
// We can only depend on the accepted address if multi-shot is not used.
// From the manpage:
// The multishot variants allow an application to issue a single
// accept request, which will repeatedly trigger a CQE when a
// connection request comes in. Like other multishot type requests,
// the application should look at the CQE flags and see if
// IORING_CQE_F_MORE is set on completion as an indication of whether
// or not the accept request will generate further CQEs. Note that
// for the multishot variants, setting addr and addrlen may not make
// a lot of sense, as the same value would be used for every accepted
// connection. This means that the data written to addr may be
// overwritten by a new connection before the application has had
// time to process a past connection. If the application knows that a
// new connection cannot come in before a previous one has been
// processed, it may be used as expected.
if (IoUring.isAcceptMultishotEnabled()) {
acceptedAddressMemory = null;
} else {
acceptedAddressMemory = new AcceptedAddressMemory();
}
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does AbstractIoUringServerChannel() do?
AbstractIoUringServerChannel() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringServerChannel.java.
Where is AbstractIoUringServerChannel() defined?
AbstractIoUringServerChannel() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringServerChannel.java at line 67.
What does AbstractIoUringServerChannel() call?
AbstractIoUringServerChannel() calls 1 function(s): AcceptedAddressMemory.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free