Created RootDObjectManager interface for those entities that want to look
up objects directly by oid. They, of course, must be on the server if they are doing this. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@728 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// $Id: RootDObjectManager.java,v 1.1 2001/12/04 01:01:54 mdb Exp $
|
||||
|
||||
package com.threerings.presents.dobj;
|
||||
|
||||
/**
|
||||
* The root distributed object manager extends the basic distributed
|
||||
* object manager interface with methods that can only be guaranteed to
|
||||
* work in the virtual machine that is hosting the distributed objects in
|
||||
* question. VMs that operate proxies of objects can only implement the
|
||||
* basic distributed object manager interface.
|
||||
*/
|
||||
public interface RootDObjectManager extends DObjectManager
|
||||
{
|
||||
/**
|
||||
* Looks up and returns the requested distributed object in the dobj
|
||||
* table, returning null if no object exists with that oid.
|
||||
*/
|
||||
public DObject getObject (int oid);
|
||||
}
|
||||
Reference in New Issue
Block a user