Make our object manager available to nice askers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2903 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DObject.java,v 1.70 2003/10/25 22:08:02 mdb Exp $
|
||||
// $Id: DObject.java,v 1.71 2003/12/11 18:36:32 mdb Exp $
|
||||
|
||||
package com.threerings.presents.dobj;
|
||||
|
||||
@@ -123,6 +123,16 @@ public class DObject implements Streamable
|
||||
return _oid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the dobject manager under the auspices of which this object
|
||||
* operates. This could be <code>null</code> if the object is not
|
||||
* active.
|
||||
*/
|
||||
public DObjectManager getManager ()
|
||||
{
|
||||
return _omgr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't call this function! Go through the distributed object manager
|
||||
* instead to ensure that everything is done on the proper thread.
|
||||
|
||||
Reference in New Issue
Block a user