TableManagerProvider is no more.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@258 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-03-22 00:39:58 +00:00
parent fde9727f07
commit 459d8b75a0
3 changed files with 2 additions and 49 deletions
@@ -23,14 +23,12 @@ package com.threerings.micasa.lobby.table;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.parlor.server.TableManager;
import com.threerings.parlor.server.TableManagerProvider;
import com.threerings.micasa.lobby.LobbyManager;
/**
* Extends lobby manager only to ensure that a table lobby object is used for table lobbies.
*/
public class TableLobbyManager
extends LobbyManager implements TableManagerProvider
public class TableLobbyManager extends LobbyManager
{
// documentation inherited
protected void didStartup ()
@@ -46,12 +44,6 @@ public class TableLobbyManager
return new TableLobbyObject();
}
// documentation inherited
public TableManager getTableManager ()
{
return _tmgr;
}
/** A reference to our table manager. */
protected TableManager _tmgr;
}
@@ -57,10 +57,7 @@ import com.threerings.parlor.game.server.GameManager;
/**
* A table manager can be used by a place manager (or other entity) to take care of the management
* of a table matchmaking service in the place managed by the place manager (or on some other
* distributed object). The place manager need instantiate a table manager and implement the {@link
* TableManagerProvider} interface to provide access to the table manager for the associated
* invocation services.
* of a table matchmaking service on a particular distributed object.
*/
public class TableManager
implements ParlorCodes, OidListListener, TableProvider
@@ -1,36 +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.server;
/**
* A place manager that wishes to provide table matchmaking services in its place needs to create a
* table manager and make it available by implementing this interface. The table invocation
* services and the table manager will take care of the rest.
*/
public interface TableManagerProvider
{
/**
* Returns a reference to the table manager that is responsible for table management in this
* lobby.
*/
public TableManager getTableManager ();
}