toListener

Converts a JNonBlockEventListener to an EventListener.

Return

The converted EventListener.

Parameters

listener

The JNonBlockEventListener to be converted.