NioIoOps.java — netty Source File
Architecture documentation for NioIoOps.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2024 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.channel.nio;
import io.netty.channel.IoOps;
import java.nio.channels.SelectionKey;
/**
* Implementation of {@link IoOps} for
* that is used by {@link NioIoHandler} and so for NIO based transports.
*/
public final class NioIoOps implements IoOps {
/**
* Interested in NO IO events.
*/
public static final NioIoOps NONE = new NioIoOps(0);
/**
* Interested in IO events that should be handled by accepting new connections
*/
public static final NioIoOps ACCEPT = new NioIoOps(SelectionKey.OP_ACCEPT);
/**
* Interested in IO events which should be handled by finish pending connect operations
*/
public static final NioIoOps CONNECT = new NioIoOps(SelectionKey.OP_CONNECT);
/**
* Interested in IO events which tell that the underlying channel is writable again.
*/
public static final NioIoOps WRITE = new NioIoOps(SelectionKey.OP_WRITE);
/**
* Interested in IO events which should be handled by reading data.
*/
public static final NioIoOps READ = new NioIoOps(SelectionKey.OP_READ);
/**
* Interested in IO events which should be either handled by reading or accepting.
*/
public static final NioIoOps READ_AND_ACCEPT = new NioIoOps(SelectionKey.OP_READ | SelectionKey.OP_ACCEPT);
/**
* Interested in IO events which should be either handled by reading or writing.
*/
public static final NioIoOps READ_AND_WRITE = new NioIoOps(SelectionKey.OP_READ | SelectionKey.OP_WRITE);
// ... (161 more lines)
Domain
Subdomains
Classes
Source
Frequently Asked Questions
What does NioIoOps.java do?
NioIoOps.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Telemetry subdomain.
Where is NioIoOps.java in the architecture?
NioIoOps.java is located at transport/src/main/java/io/netty/channel/nio/NioIoOps.java (domain: Buffer, subdomain: Telemetry, directory: transport/src/main/java/io/netty/channel/nio).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free