Home / Function/ doClose() — netty Function Reference

doClose() — netty Function Reference

Architecture documentation for the doClose() function in RxtxChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b14a78b5_15ff_e89c_26b6_9e3ada9be316["doClose()"]
  201cc14a_6932_22fb_8865_65f34c6ad37f["RxtxChannel"]
  b14a78b5_15ff_e89c_26b6_9e3ada9be316 -->|defined in| 201cc14a_6932_22fb_8865_65f34c6ad37f
  729107f3_bb0a_9e20_ae11_b20defc79010["doDisconnect()"]
  729107f3_bb0a_9e20_ae11_b20defc79010 -->|calls| b14a78b5_15ff_e89c_26b6_9e3ada9be316
  style b14a78b5_15ff_e89c_26b6_9e3ada9be316 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java lines 128–140

    @Override
    protected void doClose() throws Exception {
        open = false;
        try {
           super.doClose();
        } finally {
            if (serialPort != null) {
                serialPort.removeEventListener();
                serialPort.close();
                serialPort = null;
            }
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does doClose() do?
doClose() is a function in the netty codebase, defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java.
Where is doClose() defined?
doClose() is defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java at line 128.
What calls doClose()?
doClose() is called by 1 function(s): doDisconnect.

Analyze Your Own Codebase

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

Try Supermodel Free