From cbdc73381c5bcf2c003d4a75495c8f19e2e2e161 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 7 Sep 2006 21:38:02 +0000 Subject: [PATCH] Removed some code that only needs to be on the server-side. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@70 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../data/ParlorMarshaller_InviteMarshaller.as | 9 ------- .../data/ParlorMarshaller_TableMarshaller.as | 9 ------- .../SceneMarshaller_SceneMoveMarshaller.as | 25 ------------------- 3 files changed, 43 deletions(-) diff --git a/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as b/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as index ab4cc829..ae4accca 100644 --- a/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as +++ b/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as @@ -10,20 +10,11 @@ import com.threerings.parlor.client.ParlorService_InviteListener; public class ParlorMarshaller_InviteMarshaller extends InvocationMarshaller_ListenerMarshaller - implements ParlorService_InviteListener { /** The method id used to dispatch {@link #inviteReceived} * responses. */ public static const INVITE_RECEIVED :int = 1; - // documentation inherited from interface - public function inviteReceived (arg1 :int) :void - { - omgr.postEvent(new InvocationResponseEvent( - callerOid, requestId, INVITE_RECEIVED, - [ Integer.valueOf(arg1) ])); - } - // documentation inherited override public function dispatchResponse (methodId :int, args :Array) :void { diff --git a/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as b/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as index 6496ad1d..7d4e3741 100644 --- a/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as +++ b/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as @@ -10,20 +10,11 @@ import com.threerings.parlor.client.ParlorService_TableListener; public class ParlorMarshaller_TableMarshaller extends InvocationMarshaller_ListenerMarshaller - implements ParlorService_TableListener { /** The method id used to dispatch {@link #tableCreated} * responses. */ public static const TABLE_CREATED :int = 1; - // documentation inherited from interface - public function tableCreated (arg1 :int) :void - { - omgr.postEvent(new InvocationResponseEvent( - callerOid, requestId, TABLE_CREATED, - [ Integer.valueOf(arg1) ])); - } - // documentation inherited override public function dispatchResponse (methodId :int, args :Array) :void { diff --git a/src/as/com/threerings/whirled/data/SceneMarshaller_SceneMoveMarshaller.as b/src/as/com/threerings/whirled/data/SceneMarshaller_SceneMoveMarshaller.as index 23e48546..e176ddb7 100644 --- a/src/as/com/threerings/whirled/data/SceneMarshaller_SceneMoveMarshaller.as +++ b/src/as/com/threerings/whirled/data/SceneMarshaller_SceneMoveMarshaller.as @@ -15,44 +15,19 @@ import com.threerings.whirled.data.SceneModel; import com.threerings.whirled.data.SceneUpdate; public class SceneMarshaller_SceneMoveMarshaller extends InvocationMarshaller_ListenerMarshaller - implements SceneService_SceneMoveListener { /** The method id used to dispatch {@link #moveSucceeded} * responses. */ public static const MOVE_SUCCEEDED :int = 1; - // documentation inherited from interface SceneService_SceneMoveListener - public function moveSucceeded (arg1 :int, arg2 :PlaceConfig) :void - { - omgr.postEvent(new InvocationResponseEvent( - callerOid, requestId, MOVE_SUCCEEDED, - [ new Integer(arg1), arg2 ])); - } - /** The method id used to dispatch {@link #moveSucceededWithScene} * responses. */ public static const MOVE_SUCCEEDED_WITH_SCENE :int = 2; - // documentation inherited from interface SceneService_SceneMoveListener - public function moveSucceededWithScene (arg1 :int, arg2 :PlaceConfig, arg3 :SceneModel) :void - { - omgr.postEvent(new InvocationResponseEvent( - callerOid, requestId, MOVE_SUCCEEDED_WITH_SCENE, - [ new Integer(arg1), arg2, arg3 ])); - } - /** The method id used to dispatch {@link #moveSucceededWithUpdates} * responses. */ public static const MOVE_SUCCEEDED_WITH_UPDATES :int = 3; - // documentation inherited from interface SceneService_SceneMoveListener - public function moveSucceededWithUpdates (arg1 :int, arg2 :PlaceConfig, arg3 :TypedArray /* of SceneUpdate */) :void - { - omgr.postEvent(new InvocationResponseEvent( - callerOid, requestId, MOVE_SUCCEEDED_WITH_UPDATES, - [ new Integer(arg1), arg2, arg3 ])); - } - // documentation inherited override public function dispatchResponse (methodId :int, args :Array) :void {