Home / Function/ doInit() — netty Function Reference

doInit() — netty Function Reference

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

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  2490054d_3322_de70_5342_182d92e5ee66["doInit()"]
  201cc14a_6932_22fb_8865_65f34c6ad37f["RxtxChannel"]
  2490054d_3322_de70_5342_182d92e5ee66 -->|defined in| 201cc14a_6932_22fb_8865_65f34c6ad37f
  00581f20_0dcc_c5da_cef6_8b4ae5a2b485["connect()"]
  00581f20_0dcc_c5da_cef6_8b4ae5a2b485 -->|calls| 2490054d_3322_de70_5342_182d92e5ee66
  style 2490054d_3322_de70_5342_182d92e5ee66 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java lines 85–96

    protected void doInit() throws Exception {
        serialPort.setSerialPortParams(
            config().getOption(BAUD_RATE),
            config().getOption(DATA_BITS).value(),
            config().getOption(STOP_BITS).value(),
            config().getOption(PARITY_BIT).value()
        );
        serialPort.setDTR(config().getOption(DTR));
        serialPort.setRTS(config().getOption(RTS));

        activate(serialPort.getInputStream(), serialPort.getOutputStream());
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free