Home / Function/ readComplete0() — netty Function Reference

readComplete0() — netty Function Reference

Architecture documentation for the readComplete0() function in IoUringDatagramChannel.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d3789b6f_ecb7_8b61_ce80_a4927993c3f5["readComplete0()"]
  84fa1210_78f7_d596_04d2_ce3b690b2252["IoUringDatagramChannelUnsafe"]
  d3789b6f_ecb7_8b61_ce80_a4927993c3f5 -->|defined in| 84fa1210_78f7_d596_04d2_ce3b690b2252
  e300f4b4_c3de_e00d_8d51_49f63f0c8d92["scheduleRecvmsg0()"]
  e300f4b4_c3de_e00d_8d51_49f63f0c8d92 -->|calls| d3789b6f_ecb7_8b61_ce80_a4927993c3f5
  c5570cd2_0dd7_0431_e465_f4f118304cf7["recvmsgComplete()"]
  d3789b6f_ecb7_8b61_ce80_a4927993c3f5 -->|calls| c5570cd2_0dd7_0431_e465_f4f118304cf7
  style d3789b6f_ecb7_8b61_ce80_a4927993c3f5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java lines 405–420

        @Override
        protected void readComplete0(byte op, int res, int flags, short data, int outstanding) {
            assert outstanding != -1 : "multi-shot not implemented yet";

            final IoUringRecvByteAllocatorHandle allocHandle = recvBufAllocHandle();
            final ChannelPipeline pipeline = pipeline();
            ByteBuf byteBuf = this.readBuffer;
            assert byteBuf != null;
            try {
                recvmsgComplete(pipeline, allocHandle, byteBuf, res, flags, data, outstanding);
            } catch (Throwable t) {
                Throwable e = (connected && t instanceof NativeIoException) ?
                  translateForConnected((NativeIoException) t) : t;
                pipeline.fireExceptionCaught(e);
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does readComplete0() do?
readComplete0() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java.
Where is readComplete0() defined?
readComplete0() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringDatagramChannel.java at line 405.
What does readComplete0() call?
readComplete0() calls 1 function(s): recvmsgComplete.
What calls readComplete0()?
readComplete0() is called by 1 function(s): scheduleRecvmsg0.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free