Home / Function/ doConnect() — netty Function Reference

doConnect() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java lines 74–83

    @Override
    protected void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception {
        RxtxDeviceAddress remote = (RxtxDeviceAddress) remoteAddress;
        final CommPortIdentifier cpi = CommPortIdentifier.getPortIdentifier(remote.value());
        final CommPort commPort = cpi.open(getClass().getName(), 1000);
        commPort.enableReceiveTimeout(config().getOption(READ_TIMEOUT));
        deviceAddress = remote;

        serialPort = (SerialPort) commPort;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does doConnect() do?
doConnect() is a function in the netty codebase, defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java.
Where is doConnect() defined?
doConnect() is defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java at line 74.
What calls doConnect()?
doConnect() 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