JavaScript is disabled on your browser.
Skip navigation links
io.netty.channel.epoll

Class Native



  • public final class Native
    extends java.lang.Object
    Native helper methods

    Internal usage only!

    Static members which call JNI methods must be defined in NativeStaticallyReferencedJniMethods.

    • Field Detail

      • EPOLLIN

        public static final int EPOLLIN
      • EPOLLOUT

        public static final int EPOLLOUT
      • EPOLLRDHUP

        public static final int EPOLLRDHUP
      • EPOLLET

        public static final int EPOLLET
      • EPOLLERR

        public static final int EPOLLERR
      • IOV_MAX

        public static final int IOV_MAX
      • UIO_MAX_IOV

        public static final int UIO_MAX_IOV
      • IS_SUPPORTING_SENDMMSG

        public static final boolean IS_SUPPORTING_SENDMMSG
      • IS_SUPPORTING_TCP_FASTOPEN

        public static final boolean IS_SUPPORTING_TCP_FASTOPEN
      • SSIZE_MAX

        public static final long SSIZE_MAX
      • TCP_MD5SIG_MAXKEYLEN

        public static final int TCP_MD5SIG_MAXKEYLEN
      • KERNEL_VERSION

        public static final java.lang.String KERNEL_VERSION
    • Method Detail

      • eventFdWrite

        public static void eventFdWrite(int fd,
         long value)
      • eventFdRead

        public static void eventFdRead(int fd)
      • epollWait

        public static int epollWait(FileDescriptor epollFd,
         io.netty.channel.epoll.EpollEventArray events,
         FileDescriptor timerFd,
         int timeoutSec,
         int timeoutNs)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • epollCtlAdd

        public static void epollCtlAdd(int efd,
         int fd,
         int flags)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • epollCtlMod

        public static void epollCtlMod(int efd,
         int fd,
         int flags)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • epollCtlDel

        public static void epollCtlDel(int efd,
         int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • splice

        public static int splice(int fd,
         long offIn,
         int fdOut,
         long offOut,
         long len)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • sendfile

        public static long sendfile(int dest,
         DefaultFileRegion src,
         long baseOffset,
         long offset,
         long length)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • sendmmsg

        public static int sendmmsg(int fd,
         io.netty.channel.epoll.NativeDatagramPacketArray.NativeDatagramPacket[] msgs,
         int offset,
         int len)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • recvFd

        public static int recvFd(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • sendFd

        public static int sendFd(int socketFd,
         int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • isReuseAddress

        public static int isReuseAddress(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • isReusePort

        public static int isReusePort(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTcpNotSentLowAt

        public static int getTcpNotSentLowAt(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTrafficClass

        public static int getTrafficClass(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • isBroadcast

        public static int isBroadcast(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTcpKeepIdle

        public static int getTcpKeepIdle(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTcpKeepIntvl

        public static int getTcpKeepIntvl(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTcpKeepCnt

        public static int getTcpKeepCnt(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTcpUserTimeout

        public static int getTcpUserTimeout(int milliseconds)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • isIpFreeBind

        public static int isIpFreeBind(int fd)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setReuseAddress

        public static void setReuseAddress(int fd,
         int reuseAddress)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setReusePort

        public static void setReusePort(int fd,
         int reuseAddress)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpFastopen

        public static void setTcpFastopen(int fd,
         int tcpFastopenBacklog)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpNotSentLowAt

        public static void setTcpNotSentLowAt(int fd,
         int tcpNotSentLowAt)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTrafficClass

        public static void setTrafficClass(int fd,
         int tcpNoDelay)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setBroadcast

        public static void setBroadcast(int fd,
         int broadcast)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpKeepIdle

        public static void setTcpKeepIdle(int fd,
         int seconds)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpKeepIntvl

        public static void setTcpKeepIntvl(int fd,
         int seconds)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpKeepCnt

        public static void setTcpKeepCnt(int fd,
         int probes)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpUserTimeout

        public static void setTcpUserTimeout(int fd,
         int milliseconds)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setIpFreeBind

        public static void setIpFreeBind(int fd,
         int freeBind)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • tcpInfo

        public static void tcpInfo(int fd,
         EpollTcpInfo info)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setTcpMd5Sig

        public static void setTcpMd5Sig(int fd,
         java.net.InetAddress address,
         byte[] key)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • sizeofEpollEvent

        public static int sizeofEpollEvent()
      • offsetofEpollData

        public static int offsetofEpollData()
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /