In with the new. Or rather the old. The original incarnation.
Does not allow null 'processed' functions. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5377 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
+3
-6
@@ -22,15 +22,12 @@
|
|||||||
package com.threerings.presents.client {
|
package com.threerings.presents.client {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ResultAdapter... I mean Wrapper!
|
* ResultAdapter adapts functions to work as a ResultListener.
|
||||||
*
|
|
||||||
* Flash cannot cope with two classes with the same basename in the same .swc
|
|
||||||
* and there's already a ResultAdapter in util/.
|
|
||||||
*/
|
*/
|
||||||
public class ResultWrapper extends InvocationAdapter
|
public class ResultAdapter extends InvocationAdapter
|
||||||
implements InvocationService_ResultListener
|
implements InvocationService_ResultListener
|
||||||
{
|
{
|
||||||
public function ResultWrapper (failed :Function, processed :Function)
|
public function ResultAdapter (failed :Function, processed :Function)
|
||||||
{
|
{
|
||||||
super(failed);
|
super(failed);
|
||||||
_processed = processed;
|
_processed = processed;
|
||||||
Reference in New Issue
Block a user