947db5851d
inner classes over here on the actionscript side. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4265 542714f4-19e9-0310-aa3c-eee0fc999fb1
28 lines
646 B
ActionScript
28 lines
646 B
ActionScript
package com.threerings.presents.client {
|
|
|
|
public class ConfirmAdapter
|
|
implements InvocationService_ConfirmListener
|
|
{
|
|
public function ConfirmAdapter (processed :Function, failed :Function)
|
|
{
|
|
_processed = processed;
|
|
_failed = failed;
|
|
}
|
|
|
|
// documentation inherited from interface ConfirmListener
|
|
public function requestProcessed () :void
|
|
{
|
|
_processed();
|
|
}
|
|
|
|
// documentation inherited from interface ConfirmListener
|
|
public function requestFailed (cause :String) :void
|
|
{
|
|
_failed(cause);
|
|
}
|
|
|
|
protected var _processed :Function;
|
|
protected var _failed :Function;
|
|
}
|
|
}
|