Class KQueueIoEvent
java.lang.Object
io.netty.channel.kqueue.KQueueIoEvent
- All Implemented Interfaces:
IoEvent
IoEvent to use with KQueueIoHandler.-
Method Summary
Modifier and TypeMethodDescriptionlongdata()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) Deprecated.static KQueueIoEventnewEvent(int ident, short filter, short flags, int fflags, long data, long udata) Creates a newKQueueIoEvent.toString()longudata()Returns user specified data.
-
Method Details
-
newEvent
Deprecated.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.
-
newEvent
public static KQueueIoEvent newEvent(int ident, short filter, short flags, int fflags, long data, long udata) Creates a newKQueueIoEvent.- Parameters:
ident- the identifier for this event.filter- the filter for this event.flags- the general flags.fflags- filter-specific flags.data- the dataudata- the user defined data that is passed through.- 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.
-
udata
public long udata()Returns user specified data.- Returns:
- udata.
-
toString
-
newEvent(int, short, short, int, long, long)