Package io.netty.channel.uring
Class IoUringIoEvent
- java.lang.Object
-
- io.netty.channel.uring.IoUringIoEvent
-
- All Implemented Interfaces:
IoEvent
public final class IoUringIoEvent extends java.lang.Object implements IoEvent
IoEvent
that will be produced as an result of aIoUringIoOps
.
-
-
Constructor Summary
Constructors Constructor Description IoUringIoEvent(int res, int flags, byte opcode, short data)
Create a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
data()
Returns the data that is passed as part ofIoUringIoOps
.int
flags()
Returns the flags.byte
opcode()
Returns the op code of theIoUringIoOps
.int
res()
Returns the result.java.lang.String
toString()
-
-
-
Method Detail
-
res
public int res()
Returns the result.- Returns:
- the result
-
flags
public int flags()
Returns the flags.- Returns:
- flags
-
opcode
public byte opcode()
Returns the op code of theIoUringIoOps
.- Returns:
- opcode
-
data
public short data()
Returns the data that is passed as part ofIoUringIoOps
.- Returns:
- data.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-