IoUringSocketChannel.java — netty Source File
Architecture documentation for IoUringSocketChannel.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.uring;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import io.netty.channel.ChannelOutboundBuffer;
import io.netty.channel.socket.ServerSocketChannel;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.SocketChannelConfig;
import io.netty.channel.unix.IovArray;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.util.ArrayDeque;
import java.util.Queue;
import static io.netty.channel.unix.Errors.ioResult;
public final class IoUringSocketChannel extends AbstractIoUringStreamChannel implements SocketChannel {
private final IoUringSocketChannelConfig config;
public IoUringSocketChannel() {
super(null, LinuxSocket.newSocketStream(), false);
this.config = new IoUringSocketChannelConfig(this);
}
IoUringSocketChannel(Channel parent, LinuxSocket fd) {
super(parent, fd, true);
this.config = new IoUringSocketChannelConfig(this);
}
IoUringSocketChannel(Channel parent, LinuxSocket fd, SocketAddress remote) {
super(parent, fd, remote);
this.config = new IoUringSocketChannelConfig(this);
}
@Override
public ServerSocketChannel parent() {
return (ServerSocketChannel) super.parent();
}
@Override
public SocketChannelConfig config() {
return config;
}
// ... (252 more lines)
Domain
Subdomains
Source
Frequently Asked Questions
What does IoUringSocketChannel.java do?
IoUringSocketChannel.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Telemetry subdomain.
Where is IoUringSocketChannel.java in the architecture?
IoUringSocketChannel.java is located at transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java (domain: Buffer, subdomain: Telemetry, directory: transport-classes-io_uring/src/main/java/io/netty/channel/uring).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free