Code example for SelectionKey

Methods: cancelchannel