Modified invocation request procedure to provide a reference to the client
object that initiated the request. Implemented the invocation notification side of things. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@76 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PresentsDObjectMgr.java,v 1.6 2001/06/13 05:17:55 mdb Exp $
|
||||
// $Id: PresentsDObjectMgr.java,v 1.7 2001/07/19 19:18:07 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.cher.server;
|
||||
|
||||
@@ -74,6 +74,20 @@ public class CherDObjectMgr implements DObjectManager
|
||||
// nothing to do here, our objects live forever!
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the object in the object table with the specified oid or
|
||||
* null if no object has that oid. Be sure only to call this function
|
||||
* from the dobjmgr thread and not to do anything funny with the
|
||||
* object. If subscription is desired, use
|
||||
* <code>subscribeToObject()</code>.
|
||||
*
|
||||
* @see #subscribeToObject
|
||||
*/
|
||||
public DObject getObject (int oid)
|
||||
{
|
||||
return (DObject)_objects.get(oid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Runs the dobjmgr event loop until it is requested to exit. This
|
||||
* should be called from the main application thread.
|
||||
|
||||
Reference in New Issue
Block a user