Modified javadoc

Added javadoc for GatewayEventListener.