Home / Function/ datagramBootstrapFactory() — netty Function Reference

datagramBootstrapFactory() — netty Function Reference

Architecture documentation for the datagramBootstrapFactory() function in EpollSocketTestPermutation.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  c144ba6d_a09d_c9b8_8b03_7c15f3a12aa6["datagramBootstrapFactory()"]
  2104f5df_e24e_3ceb_8b6a_7d1927ef598b["EpollSocketTestPermutation"]
  c144ba6d_a09d_c9b8_8b03_7c15f3a12aa6 -->|defined in| 2104f5df_e24e_3ceb_8b6a_7d1927ef598b
  63b9077d_b957_e5d8_3c59_0b0913937316["epollOnlyDatagram()"]
  63b9077d_b957_e5d8_3c59_0b0913937316 -->|calls| c144ba6d_a09d_c9b8_8b03_7c15f3a12aa6
  style c144ba6d_a09d_c9b8_8b03_7c15f3a12aa6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java lines 186–203

    private static BootstrapFactory<Bootstrap> datagramBootstrapFactory(final SocketProtocolFamily family) {
        return new BootstrapFactory<Bootstrap>() {
            @Override
            public Bootstrap newInstance() {
                return new Bootstrap().group(EPOLL_GROUP).channelFactory(new ChannelFactory<Channel>() {
                    @Override
                    public Channel newChannel() {
                        return new EpollDatagramChannel(family);
                    }

                    @Override
                    public String toString() {
                        return SocketProtocolFamily.class.getSimpleName() + ".class";
                    }
                });
            }
        };
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free