Missed these two files in the last checkin.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3978 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-24 23:50:47 +00:00
parent a91bf8b14c
commit 9a6ea2f7a6
2 changed files with 105 additions and 0 deletions
@@ -0,0 +1,29 @@
package com.threerings.crowd.chat.data {
import com.threerings.util.Long;
import com.threerings.presents.data.ListenerMarshaller;
import com.threerings.crowd.chat.client.TellListener;
public class TellMarshaller extends 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);
}
}
}
}