Home / Function/ joinGroup() — netty Function Reference

joinGroup() — netty Function Reference

Architecture documentation for the joinGroup() function in LinuxSocket.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3d72cfee_4391_8a07_bb1f_af17b0113d23["joinGroup()"]
  b60ae45e_66b1_2a0f_625b_421b64bfcb66["LinuxSocket"]
  3d72cfee_4391_8a07_bb1f_af17b0113d23 -->|defined in| b60ae45e_66b1_2a0f_625b_421b64bfcb66
  1666df04_96e0_21e7_65b6_f78552a4df17["joinSsmGroup()"]
  3d72cfee_4391_8a07_bb1f_af17b0113d23 -->|calls| 1666df04_96e0_21e7_65b6_f78552a4df17
  e153647a_353a_1569_6039_2670f6c0a5c4["interfaceIndex()"]
  3d72cfee_4391_8a07_bb1f_af17b0113d23 -->|calls| e153647a_353a_1569_6039_2670f6c0a5c4
  style 3d72cfee_4391_8a07_bb1f_af17b0113d23 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/LinuxSocket.java lines 106–117

    void joinGroup(InetAddress group, NetworkInterface netInterface, InetAddress source) throws IOException {
        final NativeInetAddress g = NativeInetAddress.newInstance(group);
        final boolean isIpv6 = group instanceof Inet6Address;
        final NativeInetAddress i = NativeInetAddress.newInstance(deriveInetAddress(netInterface, isIpv6));
        if (source != null) {
            final NativeInetAddress s = NativeInetAddress.newInstance(source);
            joinSsmGroup(intValue(), ipv6, g.address(), i.address(),
                    g.scopeId(), interfaceIndex(netInterface), s.address());
        } else {
            joinGroup(intValue(), ipv6, g.address(), i.address(), g.scopeId(), interfaceIndex(netInterface));
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does joinGroup() do?
joinGroup() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/LinuxSocket.java.
Where is joinGroup() defined?
joinGroup() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/LinuxSocket.java at line 106.
What does joinGroup() call?
joinGroup() calls 2 function(s): interfaceIndex, joinSsmGroup.

Analyze Your Own Codebase

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

Try Supermodel Free