From 69a973efb2bea8cda3e08e189eb0c5f7a7cb0fc7 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 11 Dec 2003 18:36:32 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/presents/dobj/DObject.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/presents/dobj/DObject.java b/src/java/com/threerings/presents/dobj/DObject.java index 7241fcd93..2c477ed15 100644 --- a/src/java/com/threerings/presents/dobj/DObject.java +++ b/src/java/com/threerings/presents/dobj/DObject.java @@ -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 null 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.