Home / Function/ ServerBootstrapAcceptor() — netty Function Reference

ServerBootstrapAcceptor() — netty Function Reference

Architecture documentation for the ServerBootstrapAcceptor() function in ServerBootstrap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ea714223_dadb_7507_4730_191aee88a62f["ServerBootstrapAcceptor()"]
  f32a5269_a3d9_354a_3815_e297ee3f3e29["ServerBootstrapAcceptor"]
  ea714223_dadb_7507_4730_191aee88a62f -->|defined in| f32a5269_a3d9_354a_3815_e297ee3f3e29
  09073c8c_5c81_6831_9300_84392504d430["init()"]
  09073c8c_5c81_6831_9300_84392504d430 -->|calls| ea714223_dadb_7507_4730_191aee88a62f
  style ea714223_dadb_7507_4730_191aee88a62f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java lines 198–219

        ServerBootstrapAcceptor(
                final Channel channel, EventLoopGroup childGroup, ChannelHandler childHandler,
                Entry<ChannelOption<?>, Object>[] childOptions, Entry<AttributeKey<?>, Object>[] childAttrs,
                Collection<ChannelInitializerExtension> extensions) {
            this.childGroup = childGroup;
            this.childHandler = childHandler;
            this.childOptions = childOptions;
            this.childAttrs = childAttrs;
            this.extensions = extensions;

            // Task which is scheduled to re-enable auto-read.
            // It's important to create this Runnable before we try to submit it as otherwise the URLClassLoader may
            // not be able to load the class because of the file limit it already reached.
            //
            // See https://github.com/netty/netty/issues/1328
            enableAutoReadTask = new Runnable() {
                @Override
                public void run() {
                    channel.config().setAutoRead(true);
                }
            };
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does ServerBootstrapAcceptor() do?
ServerBootstrapAcceptor() is a function in the netty codebase, defined in transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java.
Where is ServerBootstrapAcceptor() defined?
ServerBootstrapAcceptor() is defined in transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java at line 198.
What calls ServerBootstrapAcceptor()?
ServerBootstrapAcceptor() is called by 1 function(s): init.

Analyze Your Own Codebase

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

Try Supermodel Free