Package io.netty.channel.kqueue
Class KQueueStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.kqueue.KQueueStaticallyReferencedJniMethods
-
final class KQueueStaticallyReferencedJniMethods extends java.lang.ObjectThis 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 privateKQueueStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intconnectDataIdempotent()(package private) static intconnectResumeOnReadWrite()(package private) static shortevAdd()(package private) static shortevClear()(package private) static shortevDelete()(package private) static shortevDisable()(package private) static shortevEnable()(package private) static shortevEOF()(package private) static shortevError()(package private) static shortevfiltRead()(package private) static shortevfiltSock()(package private) static shortevfiltUser()(package private) static shortevfiltWrite()(package private) static intfastOpenClient()(package private) static intfastOpenServer()(package private) static shortnoteConnReset()(package private) static shortnoteDisconnected()(package private) static shortnoteReadClosed()
-
-
-
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()
-
-