epollRdHupReady() — netty Function Reference
Architecture documentation for the epollRdHupReady() function in AbstractEpollChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d090690c_ba63_7842_6536_a467e153f1b2["epollRdHupReady()"] 48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85["AbstractEpollUnsafe"] d090690c_ba63_7842_6536_a467e153f1b2 -->|defined in| 48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85 2ab93c32_441f_8b46_a20b_b284364fb016["handle()"] 2ab93c32_441f_8b46_a20b_b284364fb016 -->|calls| d090690c_ba63_7842_6536_a467e153f1b2 e5df1ea4_b861_4381_789a_3b2851d17fe0["isActive()"] d090690c_ba63_7842_6536_a467e153f1b2 -->|calls| e5df1ea4_b861_4381_789a_3b2851d17fe0 4bcd90db_c084_162b_2a7a_36770794a97d["epollInReady()"] d090690c_ba63_7842_6536_a467e153f1b2 -->|calls| 4bcd90db_c084_162b_2a7a_36770794a97d 0f938c96_9ae0_6ccc_0306_33c0df2458f1["shutdownInput()"] d090690c_ba63_7842_6536_a467e153f1b2 -->|calls| 0f938c96_9ae0_6ccc_0306_33c0df2458f1 58b9aeb2_5343_e611_e004_2c5a523f6624["clearEpollRdHup()"] d090690c_ba63_7842_6536_a467e153f1b2 -->|calls| 58b9aeb2_5343_e611_e004_2c5a523f6624 style d090690c_ba63_7842_6536_a467e153f1b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java lines 511–527
final void epollRdHupReady() {
// This must happen before we attempt to read. This will ensure reading continues until an error occurs.
recvBufAllocHandle().receivedRdHup();
if (isActive()) {
// If it is still active, we need to call epollInReady as otherwise we may miss to
// read pending data from the underlying file descriptor.
// See https://github.com/netty/netty/issues/3709
epollInReady();
} else {
// Just to be safe make sure the input marked as closed.
shutdownInput(false);
}
// Clear the EPOLLRDHUP flag to prevent continuously getting woken up on this event.
clearEpollRdHup();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does epollRdHupReady() do?
epollRdHupReady() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java.
Where is epollRdHupReady() defined?
epollRdHupReady() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java at line 511.
What does epollRdHupReady() call?
epollRdHupReady() calls 4 function(s): clearEpollRdHup, epollInReady, isActive, shutdownInput.
What calls epollRdHupReady()?
epollRdHupReady() is called by 1 function(s): handle.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free