Home / Function/ EmbeddedChannel() — netty Function Reference

EmbeddedChannel() — netty Function Reference

Architecture documentation for the EmbeddedChannel() function in IpSubnetFilterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dfba0633_587a_a35a_b673_888c1e2844ab["EmbeddedChannel()"]
  a29baed8_7220_9a86_5676_d9b84ff398ba["IpSubnetFilterTest"]
  dfba0633_587a_a35a_b673_888c1e2844ab -->|defined in| a29baed8_7220_9a86_5676_d9b84ff398ba
  style dfba0633_587a_a35a_b673_888c1e2844ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java lines 208–215

    private static EmbeddedChannel newEmbeddedInetChannel(final String ipAddress, ChannelHandler... handlers) {
        return new EmbeddedChannel(handlers) {
            @Override
            protected SocketAddress remoteAddress0() {
                return isActive()? SocketUtils.socketAddress(ipAddress, 5421) : null;
            }
        };
    }

Domain

Subdomains

Frequently Asked Questions

What does EmbeddedChannel() do?
EmbeddedChannel() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java.
Where is EmbeddedChannel() defined?
EmbeddedChannel() is defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java at line 208.

Analyze Your Own Codebase

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

Try Supermodel Free