Home / Function/ ServerBootstrap() — netty Function Reference

ServerBootstrap() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b724e2c2_2a74_bebd_ca63_deec8ecd4855["ServerBootstrap()"]
  872e58d8_72a4_04f4_f4a3_a86fb110f538["EpollReuseAddrTest"]
  b724e2c2_2a74_bebd_ca63_deec8ecd4855 -->|defined in| 872e58d8_72a4_04f4_f4a3_a86fb110f538
  style b724e2c2_2a74_bebd_ca63_deec8ecd4855 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java lines 196–204

    private static ServerBootstrap createServerBootstrap() {
        ServerBootstrap bootstrap = new ServerBootstrap();
        bootstrap.group(EpollSocketTestPermutation.EPOLL_GROUP);
        bootstrap.channel(EpollServerSocketChannel.class);
        bootstrap.childHandler(new DummyHandler());
        InetSocketAddress address = new InetSocketAddress(NetUtil.LOCALHOST, 0);
        bootstrap.localAddress(address);
        return bootstrap;
    }

Domain

Subdomains

Frequently Asked Questions

What does ServerBootstrap() do?
ServerBootstrap() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java.
Where is ServerBootstrap() defined?
ServerBootstrap() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java at line 196.

Analyze Your Own Codebase

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

Try Supermodel Free