This was missing.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4355 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-09-01 01:32:52 +00:00
parent 1461dc1ccc
commit 70854349af
@@ -0,0 +1,31 @@
package com.threerings.presents.data {
import com.threerings.presents.client.InvocationService_ResultListener;
public class InvocationMarshaller_ResultMarshaller
extends InvocationMarshaller_ListenerMarshaller
implements InvocationService_ResultListener
{
public static const REQUEST_PROCESSED :int = 1;
// documetnation inherited from interfacc
public function requestProcessed (result :Object) :void
{
// TODO: server only?
}
// documetnation inherited
override public function dispatchResponse (methodId :int, args :Array) :void
{
switch (methodId) {
case REQUEST_PROCESSED:
(listener as InvocationService_ResultListener).requestProcessed(
args[0]);
return;
default:
super.dispatchResponse(methodId, args);
}
}
}
}