home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 136 / MOBICLIC136.ISO / pc / DATA / HOTE / libs / amfphp / amfphp.swf / scripts / __Packages / mx / rpc / RelayResponder.as < prev    next >
Text File  |  2011-07-20  |  433b  |  20 lines

  1. class mx.rpc.RelayResponder extends Object
  2. {
  3.    function RelayResponder(resp, resultFunc, faultFunc)
  4.    {
  5.       var _loc1_ = this;
  6.       super();
  7.       _loc1_.__obj = resp;
  8.       _loc1_.__onFault = faultFunc;
  9.       _loc1_.__onResult = resultFunc;
  10.    }
  11.    function onFault(fault)
  12.    {
  13.       this.__obj[this.__onFault](fault);
  14.    }
  15.    function onResult(result)
  16.    {
  17.       this.__obj[this.__onResult](result);
  18.    }
  19. }
  20.