Package | com.yworks.remote |
Interface | public interface ResultHandler |
Implementors | RoundtripHandler |
Implementations of this interface are provided to a DefaultServerAction
which invokes the callback implementations.
Method | Defined 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 |
handleError | () | method |
public function handleError(fault:Fault):void
Callback that is invoked when the service request failed.
Parameters
fault:Fault — Fault that describes the failure.
|
See also
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.
|