All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testifyproject.netty.channel.epoll.EpollChannelOption Maven / Gradle / Ivy

/*
 * Copyright 2014 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 org.testifyproject.testifyprojectpliance
 * with the License. You may obtain a copy of the License at:
 *
 *   http://www.apache.org.testifyproject/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 org.testifyproject.testifyproject.netty.channel.epoll;

import org.testifyproject.testifyproject.netty.channel.ChannelOption;
import org.testifyproject.testifyproject.netty.channel.unix.DomainSocketReadMode;

import java.net.InetAddress;
import java.util.Map;

public final class EpollChannelOption extends ChannelOption {
    @SuppressWarnings("rawtypes")
    private static final Class T = EpollChannelOption.class;

    public static final ChannelOption TCP_CORK = ChannelOption.valueOf(T, "TCP_CORK");
    public static final ChannelOption SO_REUSEPORT = ChannelOption.valueOf(T, "SO_REUSEPORT");
    public static final ChannelOption TCP_NOTSENT_LOWAT = ChannelOption.valueOf(T, "TCP_NOTSENT_LOWAT");
    public static final ChannelOption TCP_KEEPIDLE = ChannelOption.valueOf(T, "TCP_KEEPIDLE");
    public static final ChannelOption TCP_KEEPINTVL = ChannelOption.valueOf(T, "TCP_KEEPINTVL");
    public static final ChannelOption TCP_KEEPCNT = ChannelOption.valueOf(T, "TCP_KEEPCNT");
    public static final ChannelOption TCP_USER_TIMEOUT = valueOf(T, "TCP_USER_TIMEOUT");
    public static final ChannelOption IP_FREEBIND = ChannelOption.valueOf("IP_FREEBIND");
    public static final ChannelOption TCP_FASTOPEN = valueOf(T, "TCP_FASTOPEN");

    public static final ChannelOption DOMAIN_SOCKET_READ_MODE =
            ChannelOption.valueOf(T, "DOMAIN_SOCKET_READ_MODE");
    public static final ChannelOption EPOLL_MODE =
            ChannelOption.valueOf(T, "EPOLL_MODE");

    public static final ChannelOption> TCP_MD5SIG = valueOf("TCP_MD5SIG");

    @SuppressWarnings({ "unused", "org.testifyproject.testifyprojectprecation" })
    private EpollChannelOption() {
        super(null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy