Home / Class/ EpollSocketWritableByteChannel Class — netty Architecture

EpollSocketWritableByteChannel Class — netty Architecture

Architecture documentation for the EpollSocketWritableByteChannel class in AbstractEpollStreamChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4ca0ab22_9e0e_b5bf_0f6b_e0c0b7aac43c["EpollSocketWritableByteChannel"]
  70734405_31fd_71db_63bc_2114f3b39591["AbstractEpollStreamChannel.java"]
  4ca0ab22_9e0e_b5bf_0f6b_e0c0b7aac43c -->|defined in| 70734405_31fd_71db_63bc_2114f3b39591
  e9153db8_8cf1_266a_589a_bbe0a05b64b2["EpollSocketWritableByteChannel()"]
  4ca0ab22_9e0e_b5bf_0f6b_e0c0b7aac43c -->|method| e9153db8_8cf1_266a_589a_bbe0a05b64b2
  db8fb743_9361_5500_be84_376fbf81160d["write()"]
  4ca0ab22_9e0e_b5bf_0f6b_e0c0b7aac43c -->|method| db8fb743_9361_5500_be84_376fbf81160d
  cb61030d_7331_5f07_d7fe_a38e870811ea["ByteBufAllocator()"]
  4ca0ab22_9e0e_b5bf_0f6b_e0c0b7aac43c -->|method| cb61030d_7331_5f07_d7fe_a38e870811ea

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java lines 1055–1070

    private final class EpollSocketWritableByteChannel extends SocketWritableByteChannel {
        EpollSocketWritableByteChannel() {
            super(socket);
            assert fd == socket;
        }

        @Override
        protected int write(final ByteBuffer buf, final int pos, final int limit) throws IOException {
            return socket.send(buf, pos, limit);
        }

        @Override
        protected ByteBufAllocator alloc() {
            return AbstractEpollStreamChannel.this.alloc();
        }
    }

Frequently Asked Questions

What is the EpollSocketWritableByteChannel class?
EpollSocketWritableByteChannel is a class in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java.
Where is EpollSocketWritableByteChannel defined?
EpollSocketWritableByteChannel is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java at line 1055.

Analyze Your Own Codebase

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

Try Supermodel Free