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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user