leaveGroup() — netty Function Reference
Architecture documentation for the leaveGroup() function in LinuxSocket.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c4b19d7f_7c52_b232_b137_be9158a33b06["leaveGroup()"] d4234a66_3b23_bb74_6392_7b4eca8428c6["LinuxSocket"] c4b19d7f_7c52_b232_b137_be9158a33b06 -->|defined in| d4234a66_3b23_bb74_6392_7b4eca8428c6 717449de_e3d0_7c1e_3ad4_a117423e29e9["leaveSsmGroup()"] c4b19d7f_7c52_b232_b137_be9158a33b06 -->|calls| 717449de_e3d0_7c1e_3ad4_a117423e29e9 cd5cde44_97e9_e3ba_70b6_c79a1ebeaadd["interfaceIndex()"] c4b19d7f_7c52_b232_b137_be9158a33b06 -->|calls| cd5cde44_97e9_e3ba_70b6_c79a1ebeaadd style c4b19d7f_7c52_b232_b137_be9158a33b06 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java lines 137–151
void leaveGroup(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) {
if (source.getClass() != group.getClass()) {
throw new IllegalArgumentException("Source address is different type to group");
}
final NativeInetAddress s = NativeInetAddress.newInstance(source);
leaveSsmGroup(intValue(), ipv6 && isIpv6, g.address(), i.address(),
g.scopeId(), interfaceIndex(netInterface), s.address());
} else {
leaveGroup(intValue(), ipv6 && isIpv6, g.address(), i.address(), g.scopeId(), interfaceIndex(netInterface));
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does leaveGroup() do?
leaveGroup() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java.
Where is leaveGroup() defined?
leaveGroup() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java at line 137.
What does leaveGroup() call?
leaveGroup() calls 2 function(s): interfaceIndex, leaveSsmGroup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free