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
This commit is contained in:
@@ -10,20 +10,11 @@ import com.threerings.parlor.client.ParlorService_InviteListener;
|
|||||||
|
|
||||||
public class ParlorMarshaller_InviteMarshaller
|
public class ParlorMarshaller_InviteMarshaller
|
||||||
extends InvocationMarshaller_ListenerMarshaller
|
extends InvocationMarshaller_ListenerMarshaller
|
||||||
implements ParlorService_InviteListener
|
|
||||||
{
|
{
|
||||||
/** The method id used to dispatch {@link #inviteReceived}
|
/** The method id used to dispatch {@link #inviteReceived}
|
||||||
* responses. */
|
* responses. */
|
||||||
public static const INVITE_RECEIVED :int = 1;
|
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
|
// documentation inherited
|
||||||
override public function dispatchResponse (methodId :int, args :Array) :void
|
override public function dispatchResponse (methodId :int, args :Array) :void
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,20 +10,11 @@ import com.threerings.parlor.client.ParlorService_TableListener;
|
|||||||
|
|
||||||
public class ParlorMarshaller_TableMarshaller
|
public class ParlorMarshaller_TableMarshaller
|
||||||
extends InvocationMarshaller_ListenerMarshaller
|
extends InvocationMarshaller_ListenerMarshaller
|
||||||
implements ParlorService_TableListener
|
|
||||||
{
|
{
|
||||||
/** The method id used to dispatch {@link #tableCreated}
|
/** The method id used to dispatch {@link #tableCreated}
|
||||||
* responses. */
|
* responses. */
|
||||||
public static const TABLE_CREATED :int = 1;
|
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
|
// documentation inherited
|
||||||
override public function dispatchResponse (methodId :int, args :Array) :void
|
override public function dispatchResponse (methodId :int, args :Array) :void
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,44 +15,19 @@ import com.threerings.whirled.data.SceneModel;
|
|||||||
import com.threerings.whirled.data.SceneUpdate;
|
import com.threerings.whirled.data.SceneUpdate;
|
||||||
|
|
||||||
public class SceneMarshaller_SceneMoveMarshaller extends InvocationMarshaller_ListenerMarshaller
|
public class SceneMarshaller_SceneMoveMarshaller extends InvocationMarshaller_ListenerMarshaller
|
||||||
implements SceneService_SceneMoveListener
|
|
||||||
{
|
{
|
||||||
/** The method id used to dispatch {@link #moveSucceeded}
|
/** The method id used to dispatch {@link #moveSucceeded}
|
||||||
* responses. */
|
* responses. */
|
||||||
public static const MOVE_SUCCEEDED :int = 1;
|
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}
|
/** The method id used to dispatch {@link #moveSucceededWithScene}
|
||||||
* responses. */
|
* responses. */
|
||||||
public static const MOVE_SUCCEEDED_WITH_SCENE :int = 2;
|
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}
|
/** The method id used to dispatch {@link #moveSucceededWithUpdates}
|
||||||
* responses. */
|
* responses. */
|
||||||
public static const MOVE_SUCCEEDED_WITH_UPDATES :int = 3;
|
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
|
// documentation inherited
|
||||||
override public function dispatchResponse (methodId :int, args :Array) :void
|
override public function dispatchResponse (methodId :int, args :Array) :void
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user