Packageorg.springextensions.actionscript.cairngorm
SVN browsingAbstractResponder.as
FisheyeAbstractResponder.as
Classpublic class AbstractResponder
Implementsmx.rpc.IResponder

Abstract responder base class.



Public Methods
 MethodDefined by
  
Creates an AbstractResponder instance.
AbstractResponder
  
fault(info:Object):void
Invokes the unregister() method.
AbstractResponder
  
result(data:Object):void
Invokes the unregister() method.
AbstractResponder
Protected Methods
 MethodDefined by
  
unregister():void
Checks if the current AbstractResponder implements the ICommand interface and, if so, invokes the unregister() method on the PendingCommandRegistry singleton.
AbstractResponder
Constructor detail
AbstractResponder()constructor
public function AbstractResponder(self:AbstractResponder)

Creates an AbstractResponder instance. Abstract class should never be instantiated directly. AbstractResponder implementations should pass themselves to the AbstractResponder's constructor.

Parameters
self:AbstractResponder — A reference to the AbstractResponder itself.

Throws
— when the self constructor argument is not equal to the current AbstractResponder.
Method detail
fault()method
public function fault(info:Object):void

Invokes the unregister() method.

Parameters
info:Object
result()method 
public function result(data:Object):void

Invokes the unregister() method.

Parameters
data:Object
unregister()method 
protected function unregister():void

Checks if the current AbstractResponder implements the ICommand interface and, if so, invokes the unregister() method on the PendingCommandRegistry singleton.

See also