Home / Function/ stompCommands() — netty Function Reference

stompCommands() — netty Function Reference

Architecture documentation for the stompCommands() function in StompCommandDecodeTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0f5da8e9_036d_3bcb_8b96_d8b9bad735a8["stompCommands()"]
  7eef5b97_771d_0d5a_9790_1b825883d794["StompCommandDecodeTest"]
  0f5da8e9_036d_3bcb_8b96_d8b9bad735a8 -->|defined in| 7eef5b97_771d_0d5a_9790_1b825883d794
  style 0f5da8e9_036d_3bcb_8b96_d8b9bad735a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompCommandDecodeTest.java lines 74–92

    public static Collection<Object[]> stompCommands() {
        return Arrays.asList(new Object[][] {
                { "STOMP", StompCommand.STOMP, true },
                { "CONNECT", StompCommand.CONNECT, true },
                { "SEND", StompCommand.SEND, true },
                { "SUBSCRIBE", StompCommand.SUBSCRIBE, true },
                { "UNSUBSCRIBE", StompCommand.UNSUBSCRIBE, true },
                { "ACK", StompCommand.ACK, true },
                { "NACK", StompCommand.NACK, true },
                { "BEGIN", StompCommand.BEGIN, true },
                { "ABORT", StompCommand.ABORT, true },
                { "COMMIT", StompCommand.COMMIT, true },
                { "DISCONNECT", StompCommand.DISCONNECT, true },

                // invalid commands
                { "INVALID", StompCommand.UNKNOWN, false },
                { "disconnect", StompCommand.UNKNOWN , false }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does stompCommands() do?
stompCommands() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompCommandDecodeTest.java.
Where is stompCommands() defined?
stompCommands() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompCommandDecodeTest.java at line 74.

Analyze Your Own Codebase

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

Try Supermodel Free