Home / Function/ doBind() — netty Function Reference

doBind() — netty Function Reference

Architecture documentation for the doBind() function in EpollServerSocketChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e8c1e3ea_0150_73b6_4451_e31130774334["doBind()"]
  c1aed026_8c85_f1eb_3103_3eaa6aa73d75["EpollServerSocketChannel"]
  e8c1e3ea_0150_73b6_4451_e31130774334 -->|defined in| c1aed026_8c85_f1eb_3103_3eaa6aa73d75
  style e8c1e3ea_0150_73b6_4451_e31130774334 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollServerSocketChannel.java lines 78–87

    @Override
    protected void doBind(SocketAddress localAddress) throws Exception {
        super.doBind(localAddress);
        final int tcpFastopen;
        if (IS_SUPPORTING_TCP_FASTOPEN_SERVER && (tcpFastopen = config.getTcpFastopen()) > 0) {
            socket.setTcpFastOpen(tcpFastopen);
        }
        socket.listen(config.getBacklog());
        active = true;
    }

Domain

Subdomains

Frequently Asked Questions

What does doBind() do?
doBind() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollServerSocketChannel.java.
Where is doBind() defined?
doBind() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollServerSocketChannel.java at line 78.

Analyze Your Own Codebase

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

Try Supermodel Free