SokDoc

sok / Sok.Selector / Selector / updateInterest

updateInterest

fun updateInterest(sk: SelectionKey, interest: Int): Unit (source)

Platform and version requirements: JVM

Update the interest of a SelectionKey with the given interest

Parameters

sk - SelectionKey to update

interest - Interest to set