Home / Function/ combo() — netty Function Reference

combo() — netty Function Reference

Architecture documentation for the combo() function in SocketTestPermutation.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  36e01be4_f343_d92c_9462_5b05616da59e["combo()"]
  d1a88829_0f4e_903e_71ca_619ab445cd85["SocketTestPermutation"]
  36e01be4_f343_d92c_9462_5b05616da59e -->|defined in| d1a88829_0f4e_903e_71ca_619ab445cd85
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245["socket()"]
  50e0adfe_30dd_f27b_4d68_e61ba9cf2245 -->|calls| 36e01be4_f343_d92c_9462_5b05616da59e
  e375456a_bf0f_2c10_aae7_ea3b93f273e9["socketWithFastOpen()"]
  e375456a_bf0f_2c10_aae7_ea3b93f273e9 -->|calls| 36e01be4_f343_d92c_9462_5b05616da59e
  24c44e9c_6631_5477_c4a4_f742a7b00e49["datagram()"]
  24c44e9c_6631_5477_c4a4_f742a7b00e49 -->|calls| 36e01be4_f343_d92c_9462_5b05616da59e
  style 36e01be4_f343_d92c_9462_5b05616da59e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java lines 71–97

    protected <A extends AbstractBootstrap<?, ?>, B extends AbstractBootstrap<?, ?>>

    List<BootstrapComboFactory<A, B>> combo(List<BootstrapFactory<A>> sbfs, List<BootstrapFactory<B>> cbfs) {

        List<BootstrapComboFactory<A, B>> list = new ArrayList<BootstrapComboFactory<A, B>>();

        // Populate the combinations
        for (BootstrapFactory<A> sbf: sbfs) {
            for (BootstrapFactory<B> cbf: cbfs) {
                final BootstrapFactory<A> sbf0 = sbf;
                final BootstrapFactory<B> cbf0 = cbf;
                list.add(new BootstrapComboFactory<A, B>() {
                    @Override
                    public A newServerInstance() {
                        return sbf0.newInstance();
                    }

                    @Override
                    public B newClientInstance() {
                        return cbf0.newInstance();
                    }
                });
            }
        }

        return list;
    }

Domain

Subdomains

Frequently Asked Questions

What does combo() do?
combo() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java.
Where is combo() defined?
combo() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java at line 71.
What calls combo()?
combo() is called by 3 function(s): datagram, socket, socketWithFastOpen.

Analyze Your Own Codebase

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

Try Supermodel Free