Home / Function/ initHandshakeBuffers() — netty Function Reference

initHandshakeBuffers() — netty Function Reference

Architecture documentation for the initHandshakeBuffers() function in AbstractSslEngineBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b9691586_f3d8_069a_eab1_d0da5c42c6d9["initHandshakeBuffers()"]
  2049e1f3_c0b4_240c_1d58_95f03c8142de["AbstractSslEngineBenchmark"]
  b9691586_f3d8_069a_eab1_d0da5c42c6d9 -->|defined in| 2049e1f3_c0b4_240c_1d58_95f03c8142de
  style b9691586_f3d8_069a_eab1_d0da5c42c6d9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslEngineBenchmark.java lines 166–180

    protected final void initHandshakeBuffers() {
        cleanableCTOs = allocateBuffer(clientEngine.getSession().getPacketBufferSize());
        cleanableSTOc = allocateBuffer(serverEngine.getSession().getPacketBufferSize());
        cleanableServerAppReadBuffer = allocateBuffer(
                serverEngine.getSession().getApplicationBufferSize());
        cleanableClientAppReadBuffer = allocateBuffer(
                clientEngine.getSession().getApplicationBufferSize());
        cleanableEmpty = allocateBuffer(0);

        cTOs = cleanableCTOs.buffer();
        sTOc = cleanableSTOc.buffer();
        serverAppReadBuffer = cleanableServerAppReadBuffer.buffer();
        clientAppReadBuffer = cleanableClientAppReadBuffer.buffer();
        empty = cleanableEmpty.buffer();
    }

Domain

Subdomains

Frequently Asked Questions

What does initHandshakeBuffers() do?
initHandshakeBuffers() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslEngineBenchmark.java.
Where is initHandshakeBuffers() defined?
initHandshakeBuffers() is defined in microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslEngineBenchmark.java at line 166.

Analyze Your Own Codebase

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

Try Supermodel Free