Home / Class/ DevNullGatheringByteChannel Class — netty Architecture

DevNullGatheringByteChannel Class — netty Architecture

Architecture documentation for the DevNullGatheringByteChannel class in AbstractByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  04c488d7_da99_cc8f_e712_8fa4c2df9545["DevNullGatheringByteChannel"]
  53d91bbd_e169_0486_4b8f_b7350f1cb9da["AbstractByteBufTest.java"]
  04c488d7_da99_cc8f_e712_8fa4c2df9545 -->|defined in| 53d91bbd_e169_0486_4b8f_b7350f1cb9da
  6d9ad446_3c82_ebb4_8ecd_adaa04f143f0["write()"]
  04c488d7_da99_cc8f_e712_8fa4c2df9545 -->|method| 6d9ad446_3c82_ebb4_8ecd_adaa04f143f0
  06b08156_6adf_3f55_5c79_9597c86b67ea["isOpen()"]
  04c488d7_da99_cc8f_e712_8fa4c2df9545 -->|method| 06b08156_6adf_3f55_5c79_9597c86b67ea
  042daa8c_9c7d_c95f_d68a_1731c46e91ca["close()"]
  04c488d7_da99_cc8f_e712_8fa4c2df9545 -->|method| 042daa8c_9c7d_c95f_d68a_1731c46e91ca

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 6077–6102

    private static final class DevNullGatheringByteChannel implements GatheringByteChannel {
        @Override
        public long write(ByteBuffer[] srcs, int offset, int length) {
            throw new UnsupportedOperationException();
        }

        @Override
        public long write(ByteBuffer[] srcs) {
            throw new UnsupportedOperationException();
        }

        @Override
        public int write(ByteBuffer src) {
            throw new UnsupportedOperationException();
        }

        @Override
        public boolean isOpen() {
            return false;
        }

        @Override
        public void close() {
            throw new UnsupportedOperationException();
        }
    }

Frequently Asked Questions

What is the DevNullGatheringByteChannel class?
DevNullGatheringByteChannel is a class in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java.
Where is DevNullGatheringByteChannel defined?
DevNullGatheringByteChannel is defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java at line 6077.

Analyze Your Own Codebase

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

Try Supermodel Free