Wired up the remainder of event dispatch and added facilities for cleaning

up after objects when they have no more subscribers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@38 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-06-13 05:17:55 +00:00
parent 6fd554de7c
commit 7cb9d84d54
5 changed files with 58 additions and 10 deletions
@@ -1,5 +1,5 @@
//
// $Id: PresentsDObjectMgr.java,v 1.5 2001/06/09 23:39:04 mdb Exp $
// $Id: PresentsDObjectMgr.java,v 1.6 2001/06/13 05:17:55 mdb Exp $
package com.threerings.cocktail.cher.server;
@@ -68,6 +68,12 @@ public class CherDObjectMgr implements DObjectManager
_evqueue.append(event);
}
// inherit documentation from the interface
public void removedLastSubscriber (DObject obj)
{
// nothing to do here, our objects live forever!
}
/**
* Runs the dobjmgr event loop until it is requested to exit. This
* should be called from the main application thread.