Package io.netty.channel.kqueue
Class KQueueStaticallyReferencedJniMethods
java.lang.Object
io.netty.channel.kqueue.KQueueStaticallyReferencedJniMethods
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 -
Method Summary
Modifier and TypeMethodDescription(package private) static int
(package private) static int
(package private) static short
evAdd()
(package private) static short
evClear()
(package private) static short
evDelete()
(package private) static short
(package private) static short
evEnable()
(package private) static short
evEOF()
(package private) static short
evError()
(package private) static short
(package private) static short
(package private) static short
(package private) static short
(package private) static int
(package private) static int
(package private) static short
(package private) static short
(package private) static short
-
Constructor Details
-
KQueueStaticallyReferencedJniMethods
private KQueueStaticallyReferencedJniMethods()
-
-
Method Details
-
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()
-