diff --git a/src/as/com/threerings/parlor/client/ParlorService_TableListener.as b/src/as/com/threerings/parlor/client/ParlorService_TableListener.as deleted file mode 100644 index 3636bcac..00000000 --- a/src/as/com/threerings/parlor/client/ParlorService_TableListener.as +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// -// Vilya library - tools for developing networked games -// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved -// http://www.threerings.net/code/vilya/ -// -// This library is free software; you can redistribute it and/or modify it -// under the terms of the GNU Lesser General Public License as published -// by the Free Software Foundation; either version 2.1 of the License, or -// (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -package com.threerings.parlor.client { - -import flash.utils.ByteArray; -import com.threerings.util.*; // for Float, Integer, etc. - -import com.threerings.parlor.client.ParlorService; -import com.threerings.parlor.client.ParlorService_InviteListener; -import com.threerings.parlor.client.ParlorService_TableListener; -import com.threerings.parlor.data.ParlorMarshaller_InviteMarshaller; -import com.threerings.parlor.data.ParlorMarshaller_TableMarshaller; -import com.threerings.parlor.data.TableConfig; -import com.threerings.parlor.game.data.GameConfig; -import com.threerings.presents.client.Client; -import com.threerings.presents.client.InvocationService_ConfirmListener; -import com.threerings.presents.client.InvocationService_InvocationListener; -import com.threerings.presents.data.InvocationMarshaller_ConfirmMarshaller; -import com.threerings.util.Name; - -/** - * An ActionScript version of the Java ParlorService_TableListener interface. - */ -public interface ParlorService_TableListener - extends InvocationService_InvocationListener -{ - // from Java ParlorService_TableListener - function tableCreated (arg1 :int) :void -} -} diff --git a/src/as/com/threerings/parlor/client/TableService_TableListener.as b/src/as/com/threerings/parlor/client/TableService_TableListener.as deleted file mode 100644 index ee714b5d..00000000 --- a/src/as/com/threerings/parlor/client/TableService_TableListener.as +++ /dev/null @@ -1,44 +0,0 @@ -// -// $Id$ -// -// Vilya library - tools for developing networked games -// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved -// http://www.threerings.net/code/vilya/ -// -// This library is free software; you can redistribute it and/or modify it -// under the terms of the GNU Lesser General Public License as published -// by the Free Software Foundation; either version 2.1 of the License, or -// (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -package com.threerings.parlor.client { - -import flash.utils.ByteArray; -import com.threerings.util.*; // for Float, Integer, etc. - -import com.threerings.parlor.client.TableService; -import com.threerings.parlor.client.TableService_TableListener; -import com.threerings.parlor.data.TableConfig; -import com.threerings.parlor.data.TableMarshaller_TableMarshaller; -import com.threerings.parlor.game.data.GameConfig; -import com.threerings.presents.client.Client; -import com.threerings.presents.client.InvocationService_InvocationListener; - -/** - * An ActionScript version of the Java TableService_TableListener interface. - */ -public interface TableService_TableListener - extends InvocationService_InvocationListener -{ - // from Java TableService_TableListener - function tableCreated (arg1 :int) :void -} -} diff --git a/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as b/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as deleted file mode 100644 index 374b6b0a..00000000 --- a/src/as/com/threerings/parlor/data/ParlorMarshaller_TableMarshaller.as +++ /dev/null @@ -1,60 +0,0 @@ -// -// $Id$ -// -// Vilya library - tools for developing networked games -// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved -// http://www.threerings.net/code/vilya/ -// -// This library is free software; you can redistribute it and/or modify it -// under the terms of the GNU Lesser General Public License as published -// by the Free Software Foundation; either version 2.1 of the License, or -// (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -package com.threerings.parlor.data { - -import flash.utils.ByteArray; -import com.threerings.util.*; // for Float, Integer, etc. - -import com.threerings.parlor.client.ParlorService; -import com.threerings.parlor.client.ParlorService_TableListener; -import com.threerings.parlor.data.TableConfig; -import com.threerings.parlor.game.data.GameConfig; -import com.threerings.presents.client.Client; -import com.threerings.presents.client.InvocationService; -import com.threerings.presents.data.InvocationMarshaller_ListenerMarshaller; -import com.threerings.util.Name; - -/** - * Marshalls instances of the ParlorService_TableMarshaller interface. - */ -public class ParlorMarshaller_TableMarshaller - extends InvocationMarshaller_ListenerMarshaller -{ - /** The method id used to dispatch {@link #tableCreated} responses. */ - public static const TABLE_CREATED :int = 1; - - // from InvocationMarshaller_ListenerMarshaller - override public function dispatchResponse (methodId :int, args :Array) :void - { - switch (methodId) { - case TABLE_CREATED: - (listener as ParlorService_TableListener).tableCreated( - (args[0] as int)); - return; - - default: - super.dispatchResponse(methodId, args); - return; - } - } -} -} diff --git a/src/as/com/threerings/parlor/data/TableMarshaller_TableMarshaller.as b/src/as/com/threerings/parlor/data/TableMarshaller_TableMarshaller.as deleted file mode 100644 index 58353ad0..00000000 --- a/src/as/com/threerings/parlor/data/TableMarshaller_TableMarshaller.as +++ /dev/null @@ -1,59 +0,0 @@ -// -// $Id$ -// -// Vilya library - tools for developing networked games -// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved -// http://www.threerings.net/code/vilya/ -// -// This library is free software; you can redistribute it and/or modify it -// under the terms of the GNU Lesser General Public License as published -// by the Free Software Foundation; either version 2.1 of the License, or -// (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -package com.threerings.parlor.data { - -import flash.utils.ByteArray; -import com.threerings.util.*; // for Float, Integer, etc. - -import com.threerings.parlor.client.TableService; -import com.threerings.parlor.client.TableService_TableListener; -import com.threerings.parlor.data.TableConfig; -import com.threerings.parlor.game.data.GameConfig; -import com.threerings.presents.client.Client; -import com.threerings.presents.client.InvocationService; -import com.threerings.presents.data.InvocationMarshaller_ListenerMarshaller; - -/** - * Marshalls instances of the TableService_TableMarshaller interface. - */ -public class TableMarshaller_TableMarshaller - extends InvocationMarshaller_ListenerMarshaller -{ - /** The method id used to dispatch {@link #tableCreated} responses. */ - public static const TABLE_CREATED :int = 1; - - // from InvocationMarshaller_ListenerMarshaller - override public function dispatchResponse (methodId :int, args :Array) :void - { - switch (methodId) { - case TABLE_CREATED: - (listener as TableService_TableListener).tableCreated( - (args[0] as int)); - return; - - default: - super.dispatchResponse(methodId, args); - return; - } - } -} -}