SokDoc

sok / Sok.Selector / Interests

Interests

enum class Interests (source)

Platform and version requirements: Native

Enum representing the possible interests of a SelectionKey

Enum Values

OP_READ Equivalent to linux POLLIN event, fired if there is data to read or a socket to accept
OP_WRITE Equivalent to linux POLLOUT event, fired when the socket is readable

Properties

interest val interest: Short
raw interest value defined in poll.h