PDA

View Full Version : getting access to a remote object's result and fault event handlers


moonraker928
06-10-2009, 12:52 AM
given a remote object, is there any way to access its result event and fault event handlers (in function form)?? i realize they are usually private functions, but is there any way around this?

i am open to ideas.

moonraker928
06-10-2009, 12:54 AM
also, i know you can add more event listeners for the same event. is there a way to override an existing event listener for a remote object?
thanks!

Sekhar
06-10-2009, 01:57 AM
also, i know you can add more event listeners for the same event. is there a way to override an existing event listener for a remote object?
thanks!

Add a handler at high priority and call stopImmediatePropagation() on the event in the handler so other handlers don't see it.