Home / Function/ sctpChannel() — netty Function Reference

sctpChannel() — netty Function Reference

Architecture documentation for the sctpChannel() function in SctpTestPermutation.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c67aae3d_711b_9df8_53d5_df05aafbadb7["sctpChannel()"]
  3441e8d1_071f_8f60_91b2_bf7755ab0cc1["SctpTestPermutation"]
  c67aae3d_711b_9df8_53d5_df05aafbadb7 -->|defined in| 3441e8d1_071f_8f60_91b2_bf7755ab0cc1
  fb025d8f_200e_350a_7c0b_0f441ec7c9b8["sctpServerChannel()"]
  c67aae3d_711b_9df8_53d5_df05aafbadb7 -->|calls| fb025d8f_200e_350a_7c0b_0f441ec7c9b8
  bfeb5b2f_4347_4859_df6a_666fdb9def43["sctpClientChannel()"]
  c67aae3d_711b_9df8_53d5_df05aafbadb7 -->|calls| bfeb5b2f_4347_4859_df6a_666fdb9def43
  style c67aae3d_711b_9df8_53d5_df05aafbadb7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java lines 93–123

    static List<BootstrapComboFactory<ServerBootstrap, Bootstrap>> sctpChannel() {
        List<BootstrapComboFactory<ServerBootstrap, Bootstrap>> list =
                new ArrayList<BootstrapComboFactory<ServerBootstrap, Bootstrap>>();

        // Make the list of SCTP ServerBootstrap factories.
        List<BootstrapFactory<ServerBootstrap>> sbfs = sctpServerChannel();

        // Make the list of SCTP Bootstrap factories.
        List<BootstrapFactory<Bootstrap>> cbfs = sctpClientChannel();

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

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

        return list;
    }

Domain

Subdomains

Frequently Asked Questions

What does sctpChannel() do?
sctpChannel() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java.
Where is sctpChannel() defined?
sctpChannel() is defined in testsuite/src/main/java/io/netty/testsuite/transport/sctp/SctpTestPermutation.java at line 93.
What does sctpChannel() call?
sctpChannel() calls 2 function(s): sctpClientChannel, sctpServerChannel.

Analyze Your Own Codebase

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

Try Supermodel Free