Modified DSet support such that additions, updates and removals are

applied immediately on the authoritative copy of the object (the one on
the server). We already do this for all other object modifications (except
OidList which is kind of special anyway), but we should be wary of
potential wickosity.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2302 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-03-10 18:29:54 +00:00
parent 152344f223
commit ef525ebad9
7 changed files with 126 additions and 28 deletions
@@ -1,5 +1,5 @@
//
// $Id: DObjectManager.java,v 1.10 2001/10/24 00:36:40 mdb Exp $
// $Id: DObjectManager.java,v 1.11 2003/03/10 18:29:54 mdb Exp $
package com.threerings.presents.dobj;
@@ -14,6 +14,13 @@ package com.threerings.presents.dobj;
*/
public interface DObjectManager
{
/**
* Returns true if this distributed object manager is the
* authoritative manager for the specified distributed object, or fals
* if we are only providing a proxy to the object.
*/
public boolean isManager (DObject object);
/**
* Creates a distributed object instance of the supplied class and
* notifies the specified subscriber when it becomes available. This