Package io.netty.channel.unix
Class ErrorsStaticallyReferencedJniMethods
java.lang.Object
io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods
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 int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static int
(package private) static String
strError
(int err)
-
Constructor Details
-
ErrorsStaticallyReferencedJniMethods
private ErrorsStaticallyReferencedJniMethods()
-
-
Method Details
-
errnoENOENT
static int errnoENOENT() -
errnoEBADF
static int errnoEBADF() -
errnoEPIPE
static int errnoEPIPE() -
errnoECONNRESET
static int errnoECONNRESET() -
errnoENOTCONN
static int errnoENOTCONN() -
errnoEAGAIN
static int errnoEAGAIN() -
errnoEWOULDBLOCK
static int errnoEWOULDBLOCK() -
errnoEINPROGRESS
static int errnoEINPROGRESS() -
errorECONNREFUSED
static int errorECONNREFUSED() -
errorEISCONN
static int errorEISCONN() -
errorEALREADY
static int errorEALREADY() -
errorENETUNREACH
static int errorENETUNREACH() -
errorEHOSTUNREACH
static int errorEHOSTUNREACH() -
strError
-