Top Description Interfaces Classes
[default module]

Package io.netty5.channel.kqueue

Annotations
@UnstableApi
Imports
io.netty5.util.internal.UnstableApi

BSD specific transport.

Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
KQueueRegistration

Registration with an KQueueHandler.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
public class
pack-priv class
BsdSocket

A socket which provides access BSD native methods.

public class
KQueue

If KQueue is available the JNI resources will be loaded when this class loads.

public class
public class
KQueueDatagramChannel

DatagramChannel implementation that uses KQueue.

pack-priv class
KQueueEventArray

Represents an array of kevent structures, backed by offheap memory.

public class
KQueueHandler

IoHandler which uses kqueue under the covers.

public class
KQueueReadHandleFactory

MaxMessagesReadHandleFactory which always try to allocate buffers as big as kqueue tells us in terms of pending bytes to read.

public class
KQueueServerSocketChannel

ServerSocketChannel implementation that uses KQueue.

public class
KQueueSocketChannel

SocketChannel implementation that uses KQueue.

pack-priv class
KQueueStaticallyReferencedJniMethods

This class is necessary to break the following cyclic dependency:

  1. JNI_OnLoad
  2. JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
  3. FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
  4. java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered.
pack-priv class
Native

Native helper methods

Internal usage only!