public final class Native extends Object
Internal usage only!
Static members which call JNI methods must be defined in NativeStaticallyReferencedJniMethods
.
Modifier and Type | Field and Description |
---|---|
static int |
EPOLLERR |
static int |
EPOLLET |
static int |
EPOLLIN |
static int |
EPOLLOUT |
static int |
EPOLLRDHUP |
static boolean |
IS_SUPPORTING_SENDMMSG |
static boolean |
IS_SUPPORTING_TCP_FASTOPEN |
static String |
KERNEL_VERSION |
static int |
TCP_MD5SIG_MAXKEYLEN |
Modifier and Type | Method and Description |
---|---|
static void |
epollCtlAdd(int efd,
int fd,
int flags) |
static void |
epollCtlDel(int efd,
int fd) |
static void |
epollCtlMod(int efd,
int fd,
int flags) |
static int |
epollWait(int efd,
io.netty.channel.epoll.EpollEventArray events,
int timeout) |
static void |
eventFdRead(int fd) |
static void |
eventFdWrite(int fd,
long value) |
static FileDescriptor |
newEpollCreate() |
static FileDescriptor |
newEventFd() |
static int |
offsetofEpollData() |
static long |
sendfile(int dest,
DefaultFileRegion src,
long baseOffset,
long offset,
long length) |
static int |
sendmmsg(int fd,
io.netty.channel.epoll.NativeDatagramPacketArray.NativeDatagramPacket[] msgs,
int offset,
int len) |
static int |
sizeofEpollEvent() |
static int |
splice(int fd,
long offIn,
int fdOut,
long offOut,
long len) |
public static final int EPOLLIN
public static final int EPOLLOUT
public static final int EPOLLRDHUP
public static final int EPOLLET
public static final int EPOLLERR
public static final boolean IS_SUPPORTING_SENDMMSG
public static final boolean IS_SUPPORTING_TCP_FASTOPEN
public static final int TCP_MD5SIG_MAXKEYLEN
public static final String KERNEL_VERSION
public static FileDescriptor newEventFd()
public static void eventFdWrite(int fd, long value)
public static void eventFdRead(int fd)
public static FileDescriptor newEpollCreate()
public static int epollWait(int efd, io.netty.channel.epoll.EpollEventArray events, int timeout) throws IOException
IOException
public static void epollCtlAdd(int efd, int fd, int flags) throws IOException
IOException
public static void epollCtlMod(int efd, int fd, int flags) throws IOException
IOException
public static void epollCtlDel(int efd, int fd) throws IOException
IOException
public static int splice(int fd, long offIn, int fdOut, long offOut, long len) throws IOException
IOException
public static long sendfile(int dest, DefaultFileRegion src, long baseOffset, long offset, long length) throws IOException
IOException
public static int sendmmsg(int fd, io.netty.channel.epoll.NativeDatagramPacketArray.NativeDatagramPacket[] msgs, int offset, int len) throws IOException
IOException
public static int sizeofEpollEvent()
public static int offsetofEpollData()
Copyright © 2008–2017 The Netty Project. All rights reserved.