Need ability to enumerate over place managers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@142 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PlaceRegistry.java,v 1.4 2001/08/02 01:21:03 mdb Exp $
|
||||
// $Id: PlaceRegistry.java,v 1.5 2001/08/02 01:48:08 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.party.server;
|
||||
|
||||
@@ -134,6 +134,16 @@ public class PlaceRegistry implements Subscriber
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an enumeration of all of the registered place managers.
|
||||
* This should only be accessed on the dobjmgr thread and shouldn't be
|
||||
* kept around across event dispatches.
|
||||
*/
|
||||
public Enumeration getPlaceManagers ()
|
||||
{
|
||||
return _pmgrs.elements();
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregisters the place from the registry. Called by the place
|
||||
* manager when a place object that it was managing is destroyed.
|
||||
|
||||
Reference in New Issue
Block a user