Package io.netty.channel.kqueue
Class KQueueIoEvent
- java.lang.Object
-
- io.netty.channel.kqueue.KQueueIoEvent
-
- All Implemented Interfaces:
IoEvent
public final class KQueueIoEvent extends java.lang.Object implements IoEvent
IoEvent
to use withKQueueIoHandler
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
data()
Returns filter-specific data.int
fflags()
Returns filter-specific flags.short
filter()
Returns the filter for this event.short
flags()
Returns the general flags.int
ident()
Returns the identifier for this event.static KQueueIoEvent
newEvent(int ident, short filter, short flags, int fflags)
Creates a newKQueueIoEvent
.java.lang.String
toString()
-
-
-
Method Detail
-
newEvent
public static KQueueIoEvent newEvent(int ident, short filter, short flags, int fflags)
Creates a newKQueueIoEvent
.- Parameters:
ident
- the identifier for this event.filter
- the filter for this event.flags
- the general flags.fflags
- filter-specific flags.- Returns:
KQueueIoEvent
.
-
ident
public int ident()
Returns the identifier for this event.- Returns:
- ident.
-
filter
public short filter()
Returns the filter for this event.- Returns:
- filter.
-
flags
public short flags()
Returns the general flags.- Returns:
- flags.
-
fflags
public int fflags()
Returns filter-specific flags.- Returns:
- fflags.
-
data
public long data()
Returns filter-specific data.- Returns:
- data.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-