Package io.netty.channel.kqueue
Class KQueueIoEvent
- java.lang.Object
-
- io.netty.channel.kqueue.KQueueIoEvent
-
- All Implemented Interfaces:
io.netty.channel.IoEvent
public final class KQueueIoEvent extends Object implements io.netty.channel.IoEvent
IoEventto use withKQueueIoHandler.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longdata()Returns filter-specific data.intfflags()Returns filter-specific flags.shortfilter()Returns the filter for this event.shortflags()Returns the general flags.intident()Returns the identifier for this event.static KQueueIoEventnewEvent(int ident, short filter, short flags, int fflags)Creates a newKQueueIoEvent.StringtoString()
-
-
-
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.
-
-