Home / Function/ testSimpleSend() — netty Function Reference

testSimpleSend() — netty Function Reference

Architecture documentation for the testSimpleSend() function in DatagramUnicastTest.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 6

Entity Profile

Dependency Diagram

graph TD
  1d29f357_d8d7_aeac_be4e_38529bf16434["testSimpleSend()"]
  fe4d45b3_9e9e_2ee9_7d60_26b49241d521["DatagramUnicastTest"]
  1d29f357_d8d7_aeac_be4e_38529bf16434 -->|defined in| fe4d45b3_9e9e_2ee9_7d60_26b49241d521
  4619a2b8_5732_7bea_1716_48371e18fb1f["testSimpleSendDirectByteBuf()"]
  4619a2b8_5732_7bea_1716_48371e18fb1f -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  13078524_ee26_bc8a_a17a_c9acd6cfa908["testSimpleSendHeapByteBuf()"]
  13078524_ee26_bc8a_a17a_c9acd6cfa908 -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  fe40f4ed_2c2f_828c_eb81_b3362430a0f0["testSimpleSendCompositeDirectByteBuf()"]
  fe40f4ed_2c2f_828c_eb81_b3362430a0f0 -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  dcc59760_f1af_1fd1_d99b_a7ff8f4e863f["testSimpleSendCompositeHeapByteBuf()"]
  dcc59760_f1af_1fd1_d99b_a7ff8f4e863f -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  1e094599_e3d1_5ae3_66e9_65371510a58b["testSimpleSendCompositeMixedByteBuf()"]
  1e094599_e3d1_5ae3_66e9_65371510a58b -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  1b3db84c_4e3a_33b2_5e84_377b91ebd881["testSimpleSendWithoutBind()"]
  1b3db84c_4e3a_33b2_5e84_377b91ebd881 -->|calls| 1d29f357_d8d7_aeac_be4e_38529bf16434
  955359d9_42c9_1060_17ef_af523c9e5229["testSimpleSend0()"]
  1d29f357_d8d7_aeac_be4e_38529bf16434 -->|calls| 955359d9_42c9_1060_17ef_af523c9e5229
  style 1d29f357_d8d7_aeac_be4e_38529bf16434 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java lines 180–189

    private void testSimpleSend(Bootstrap sb, Bootstrap cb, ByteBuf buf, boolean bindClient,
                                final byte[] bytes, int count) throws Throwable {
        try {
            for (WrapType type: WrapType.values()) {
                testSimpleSend0(sb, cb, buf.retain(), bindClient, bytes, count, type);
            }
        } finally {
            assertTrue(buf.release());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testSimpleSend() do?
testSimpleSend() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java.
Where is testSimpleSend() defined?
testSimpleSend() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/DatagramUnicastTest.java at line 180.
What does testSimpleSend() call?
testSimpleSend() calls 1 function(s): testSimpleSend0.
What calls testSimpleSend()?
testSimpleSend() is called by 6 function(s): testSimpleSendCompositeDirectByteBuf, testSimpleSendCompositeHeapByteBuf, testSimpleSendCompositeMixedByteBuf, testSimpleSendDirectByteBuf, testSimpleSendHeapByteBuf, testSimpleSendWithoutBind.

Analyze Your Own Codebase

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

Try Supermodel Free