Files
narya/src/as/com/threerings/crowd/chat/data/TellMarshaller.as
T
Ray Greenwell fdfce50d01 Checkpoint, I've got an interactive 2d scene mostly working.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 21:54:34 +00:00

30 lines
816 B
ActionScript

package com.threerings.crowd.chat.data {
import com.threerings.util.Long;
import com.threerings.presents.data.InvocationMarshaller_ListenerMarshaller;
import com.threerings.crowd.chat.client.TellListener;
public class TellMarshaller extends InvocationMarshaller_ListenerMarshaller
{
/** The method id used to dispatch {@link #tellSucceeded}
* responses. */
public static const TELL_SUCCEEDED :int = 1;
// documentation inherited
public override function dispatchResponse (methodId :int, args :Array) :void
{
switch (methodId) {
case TELL_SUCCEEDED:
(listener as TellListener).tellSucceeded(
(args[0] as Long), (args[1] as String));
return;
default:
super.dispatchResponse(methodId, args);
}
}
}
}