Package io.netty.channel.kqueue
Class KQueueStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.kqueue.KQueueStaticallyReferencedJniMethods
-
final class KQueueStaticallyReferencedJniMethods extends java.lang.Object
This class is necessary to break the following cyclic dependency:- JNI_OnLoad
- JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
- FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
- java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
KQueueStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static int
connectDataIdempotent()
(package private) static int
connectResumeOnReadWrite()
(package private) static short
evAdd()
(package private) static short
evClear()
(package private) static short
evDelete()
(package private) static short
evDisable()
(package private) static short
evEnable()
(package private) static short
evEOF()
(package private) static short
evError()
(package private) static short
evfiltRead()
(package private) static short
evfiltSock()
(package private) static short
evfiltUser()
(package private) static short
evfiltWrite()
(package private) static int
fastOpenClient()
(package private) static int
fastOpenServer()
(package private) static short
noteConnReset()
(package private) static short
noteDisconnected()
(package private) static short
noteReadClosed()
-
-
-
Method Detail
-
evAdd
static short evAdd()
-
evEnable
static short evEnable()
-
evDisable
static short evDisable()
-
evDelete
static short evDelete()
-
evClear
static short evClear()
-
evEOF
static short evEOF()
-
evError
static short evError()
-
noteReadClosed
static short noteReadClosed()
-
noteConnReset
static short noteConnReset()
-
noteDisconnected
static short noteDisconnected()
-
evfiltRead
static short evfiltRead()
-
evfiltWrite
static short evfiltWrite()
-
evfiltUser
static short evfiltUser()
-
evfiltSock
static short evfiltSock()
-
connectResumeOnReadWrite
static int connectResumeOnReadWrite()
-
connectDataIdempotent
static int connectDataIdempotent()
-
fastOpenClient
static int fastOpenClient()
-
fastOpenServer
static int fastOpenServer()
-
-