Event sending and detection

haxe can directly use Event.send() to send events, so how to detect events without using logical nodes,