Home / Function/ isSupported() — netty Function Reference

isSupported() — netty Function Reference

Architecture documentation for the isSupported() function in AbstractDatagramTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  eb85beeb_5464_161c_c240_751e3f24bd0f["isSupported()"]
  a0079d51_bcfd_63cf_4cbc_d508edcfddcb["AbstractDatagramTest"]
  eb85beeb_5464_161c_c240_751e3f24bd0f -->|defined in| a0079d51_bcfd_63cf_4cbc_d508edcfddcb
  style eb85beeb_5464_161c_c240_751e3f24bd0f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java lines 56–65

    protected boolean isSupported(SocketProtocolFamily family, InetAddress address) {
        switch (family) {
            case INET:
                return address instanceof Inet4Address;
            case INET6:
                return address instanceof Inet6Address;
            default:
                return false;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does isSupported() do?
isSupported() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java.
Where is isSupported() defined?
isSupported() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/AbstractDatagramTest.java at line 56.

Analyze Your Own Codebase

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

Try Supermodel Free