Packageorg.restfulx.services
Classpublic class UndoRedoResponder
ImplementsIFunctionalResponder

Undo/Redo responder wraps around another Functional responder (typically ServiceResponder) and allows us to attach a different handler function to the responder than was originally provided.



Public Properties
 PropertyDefined by
  handler : Function
Get the handler function associated with hisresponder
UndoRedoResponder
  source : IFunctionalResponder
Get the source IFunctionalResponder we wrap around
UndoRedoResponder
Public Methods
 MethodDefined by
  
UndoRedoResponder(source:IResponder, fn:Function)
UndoRedoResponder
  
fault(info:Object):void
Invoke source IFunctionalResponder fault implementation.
UndoRedoResponder
  
result(data:Object):void
Push urhandler function into the source IFunctionalResponder and invoke its result implementation.
UndoRedoResponder
Property detail
handlerproperty
handler:Function  [read-write]

Get the handler function associated with hisresponder

Implementation
    public function get handler():Function
    public function set handler(value:Function):void
sourceproperty 
source:IFunctionalResponder  [read-write]

Get the source IFunctionalResponder we wrap around

Implementation
    public function get source():IFunctionalResponder
    public function set source(value:IFunctionalResponder):void
Constructor detail
UndoRedoResponder()constructor
public function UndoRedoResponder(source:IResponder, fn:Function)Parameters
source:IResponder
 
fn:Function
Method detail
fault()method
public function fault(info:Object):void

Invoke source IFunctionalResponder fault implementation.

Parameters
info:Object

See also

mx.rpc.IResponder.fault
result()method 
public function result(data:Object):void

Push urhandler function into the source IFunctionalResponder and invoke its result implementation.

Parameters
data:Object

See also

mx.rpc.IResponder.result