Packagecom.asfusion.mate.responses
Interfacepublic interface IResponseHandler
ImplementorsResponseHandler, ServiceResponseHandler

This interface is required by response handlers to be placed inside the Dispatcher tag



Public Methods
 MethodDefined by
  
addReponderListener(type:String, dispatcher:IEventDispatcher, owner:Dispatcher):void
This method receives an eventDispatcher to register as a listener for a response for a specific event.
IResponseHandler
  
removeResponderListener(type:String, dispatcher:IEventDispatcher):void
This method removes the response listener.
IResponseHandler
Method detail
addReponderListener()method
public function addReponderListener(type:String, dispatcher:IEventDispatcher, owner:Dispatcher):void

This method receives an eventDispatcher to register as a listener for a response for a specific event. It is called by the Dispatcher before the event gets dispatched.

Parameters
type:String
 
dispatcher:IEventDispatcher
 
owner:Dispatcher
removeResponderListener()method 
public function removeResponderListener(type:String, dispatcher:IEventDispatcher):void

This method removes the response listener. It is called by the Dispatcher after the response is back.

Parameters
type:String
 
dispatcher:IEventDispatcher