Spot stuff in AbjectScript.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4144 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.threerings.presents.data {
|
||||
|
||||
import com.threerings.presents.client.ConfirmListener;
|
||||
|
||||
public class ConfirmMarshaller extends ListenerMarshaller
|
||||
implements ConfirmListener
|
||||
{
|
||||
public static const REQUEST_PROCESSED :int = 1;
|
||||
|
||||
// documetnation inherited from interfacc
|
||||
public function requestProcessed ()
|
||||
{
|
||||
// TODO: server only?
|
||||
}
|
||||
|
||||
// documetnation inherited
|
||||
public function dispatchResponse (methodId :int, args :Array) :void
|
||||
{
|
||||
switch (methodId) {
|
||||
case REQUEST_PROCESSED:
|
||||
(listener as ConfirmListener).requestProcessed();
|
||||
return;
|
||||
|
||||
default:
|
||||
super.dispatchResponse(methodId, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user