Home / Type/ State Type — netty Architecture

State Type — netty Architecture

Architecture documentation for the State type/interface in AbstractBinaryMemcacheDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0f7f3a56_cd8a_4d54_732f_4e1cf16a0d2c["State"]
  e78d5d70_8d92_cac9_15ad_a5aee207abc6["AbstractBinaryMemcacheDecoder.java"]
  0f7f3a56_cd8a_4d54_732f_4e1cf16a0d2c -->|defined in| e78d5d70_8d92_cac9_15ad_a5aee207abc6
  style 0f7f3a56_cd8a_4d54_732f_4e1cf16a0d2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java lines 241–266

    enum State {
        /**
         * Currently reading the header portion.
         */
        READ_HEADER,

        /**
         * Currently reading the extras portion (optional).
         */
        READ_EXTRAS,

        /**
         * Currently reading the key portion (optional).
         */
        READ_KEY,

        /**
         * Currently reading the value chunks (optional).
         */
        READ_CONTENT,

        /**
         * Something went wrong while decoding the message or chunks.
         */
        BAD_MESSAGE
    }

Frequently Asked Questions

What is the State type?
State is a type/interface in the netty codebase, defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java.
Where is State defined?
State is defined in codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/AbstractBinaryMemcacheDecoder.java at line 241.

Analyze Your Own Codebase

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

Try Supermodel Free