Code example for SelectionKey

Methods: interestOpsisValid