Package jnr.enxio.channels
Class KQSelector.EventIO
- java.lang.Object
-
- jnr.enxio.channels.KQSelector.EventIO
-
- Enclosing class:
- KQSelector
private static final class KQSelector.EventIO extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static KQSelector.EventIO
INSTANCE
private KQSelector.EventLayout
layout
private jnr.ffi.Type
uintptr_t
-
Constructor Summary
Constructors Modifier Constructor Description private
EventIO()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getFD(jnr.ffi.Pointer ptr, int index)
int
getFilter(jnr.ffi.Pointer buf, int index)
static KQSelector.EventIO
getInstance()
void
put(jnr.ffi.Pointer buf, int index, int fd, int filt, int flags)
void
putFilter(jnr.ffi.Pointer buf, int index, int filter)
void
putFlags(jnr.ffi.Pointer buf, int index, int flags)
int
size()
-
-
-
Field Detail
-
INSTANCE
private static final KQSelector.EventIO INSTANCE
-
layout
private final KQSelector.EventLayout layout
-
uintptr_t
private final jnr.ffi.Type uintptr_t
-
-
Method Detail
-
getInstance
public static KQSelector.EventIO getInstance()
-
put
public final void put(jnr.ffi.Pointer buf, int index, int fd, int filt, int flags)
-
size
public final int size()
-
getFD
int getFD(jnr.ffi.Pointer ptr, int index)
-
putFilter
public final void putFilter(jnr.ffi.Pointer buf, int index, int filter)
-
getFilter
public final int getFilter(jnr.ffi.Pointer buf, int index)
-
putFlags
public final void putFlags(jnr.ffi.Pointer buf, int index, int flags)
-
-