Packagecom.yworks.remote
Interfacepublic interface ResultHandler
Implementors RoundtripHandler

Basic interface for handling results of a request to the server.

Implementations of this interface are provided to a DefaultServerAction which invokes the callback implementations.



Public Methods
 MethodDefined By
  
handleError(fault:Fault):void
Callback that is invoked when the service request failed.
ResultHandler
  
handleResult(result:XML):void
Callback that is invoked when the server transfered the expected response.
ResultHandler
Method Detail
handleError()method
public function handleError(fault:Fault):void

Callback that is invoked when the service request failed.

Parameters

fault:FaultFault that describes the failure.

See also

mx.rpc.Fault
handleResult()method 
public function handleResult(result:XML):void

Callback that is invoked when the server transfered the expected response.

Parameters

result:XML — The xml content of the server response.