closeInbound() — netty Function Reference
Architecture documentation for the closeInbound() function in ReferenceCountedOpenSslEngine.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9b3e5989_899b_5eb0_0d24_39c13fe87203["closeInbound()"] df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"] 9b3e5989_899b_5eb0_0d24_39c13fe87203 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66 a8911f03_7846_4c48_375e_75acd519b8f2["closeAll()"] a8911f03_7846_4c48_375e_75acd519b8f2 -->|calls| 9b3e5989_899b_5eb0_0d24_39c13fe87203 9bd72a0f_68ed_cd2d_f4ac_b0657258724c["isOutboundDone()"] 9b3e5989_899b_5eb0_0d24_39c13fe87203 -->|calls| 9bd72a0f_68ed_cd2d_f4ac_b0657258724c c4b3e9d1_8ba5_707f_4649_4d5a628a2433["shutdown()"] 9b3e5989_899b_5eb0_0d24_39c13fe87203 -->|calls| c4b3e9d1_8ba5_707f_4649_4d5a628a2433 91fc1e9f_da8a_5369_c205_f01b69e8bd01["SSLException()"] 9b3e5989_899b_5eb0_0d24_39c13fe87203 -->|calls| 91fc1e9f_da8a_5369_c205_f01b69e8bd01 style 9b3e5989_899b_5eb0_0d24_39c13fe87203 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 1583–1601
@Override
public final synchronized void closeInbound() throws SSLException {
if (isInboundDone) {
return;
}
isInboundDone = true;
if (isOutboundDone()) {
// Only call shutdown if there is no outbound data pending.
// See https://github.com/netty/netty/issues/6167
shutdown();
}
if (handshakeState != HandshakeState.NOT_STARTED && !receivedShutdown) {
throw new SSLException(
"Inbound closed before receiving peer's close_notify: possible truncation attack?");
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does closeInbound() do?
closeInbound() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is closeInbound() defined?
closeInbound() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 1583.
What does closeInbound() call?
closeInbound() calls 3 function(s): SSLException, isOutboundDone, shutdown.
What calls closeInbound()?
closeInbound() is called by 1 function(s): closeAll.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free