Home / Function/ channelActive() — netty Function Reference

channelActive() — netty Function Reference

Architecture documentation for the channelActive() function in EpollSpliceTest.java from the netty codebase.

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  5a6fbe16_50d1_4f38_a2fc_ef7e67385838["channelActive()"]
  c9a84116_fb55_fb37_e20b_00eb6f492d34["SpliceHandler"]
  5a6fbe16_50d1_4f38_a2fc_ef7e67385838 -->|defined in| c9a84116_fb55_fb37_e20b_00eb6f492d34
  c39ca91e_0b7d_217e_568b_15358192efc4["channelActive()"]
  c39ca91e_0b7d_217e_568b_15358192efc4 -->|calls| 5a6fbe16_50d1_4f38_a2fc_ef7e67385838
  c39ca91e_0b7d_217e_568b_15358192efc4["channelActive()"]
  5a6fbe16_50d1_4f38_a2fc_ef7e67385838 -->|calls| c39ca91e_0b7d_217e_568b_15358192efc4
  style 5a6fbe16_50d1_4f38_a2fc_ef7e67385838 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSpliceTest.java lines 293–301

        @Override
        public void channelActive(ChannelHandlerContext ctx) throws Exception {
            final EpollSocketChannel ch = (EpollSocketChannel) ctx.channel();
            final FileDescriptor fd = FileDescriptor.from(file);

            // splice two halves separately to test starting offset
            future = ch.spliceTo(fd, 0, data.length / 2);
            future2 = ch.spliceTo(fd, data.length / 2, data.length / 2);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does channelActive() do?
channelActive() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSpliceTest.java.
Where is channelActive() defined?
channelActive() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSpliceTest.java at line 293.
What does channelActive() call?
channelActive() calls 1 function(s): channelActive.
What calls channelActive()?
channelActive() is called by 1 function(s): channelActive.

Analyze Your Own Codebase

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

Try Supermodel Free